Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Java
  • » Severe problems with JDK 1.2.2 and potato [RSS Feed]

#1 June 3, 2000 07:26:15

Dr. S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Severe problems with JDK 1.2.2 and potato


Folks,

I'm having very serious problems with Sun's JDK 1.2.2 (and Blackdown's
too) with potato on both my i386 and SPARC boxes.

I've followed the installation instructions supplied with each, but I
still get NoClassDefFoundError exceptions even for simple HelloWorld
classes.

I believe the problem is with /etc/alternatives system. I have the
dummy java compiler and virtual machine installed.

Can someone help? I want either to set up a configuration file for
JDK1.2.2 or to rip out (purge, expunge, completely remove) the
alternatives for java. I'd be happy to RTFM is someone can point me
to one.

I think the Java package maintainers should give serious thought to
their policy, especially with respect to Java 2. Java and CORBA are
likely to be the basis of a new class of distributed systems that will
change the way enterprises build systems. If Debian does not keep
pace with Sun's releases, however repugnant Sun's SCSL may be, it will
exclude an important class of user groups. Having been an ardent
Debian supporter from it's inception, I am on the edge of becoming
sufficiently frustrated with Debian to consider a much less
'politically correct' distribution because of issues such as this.

Simon Read

Dept. of Comp. Sci. and Info. Sys.
Clark 120
American University
4400 Massachusetts Avenue, NW
Washington, DC 20016
Tel: 1 202 885 3128
Fax: 1 202 885 1479
Email:
WWW: www.csis.american.edu/~simon

Offline

#2 June 3, 2000 07:33:45

Harvey B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Severe problems with JDK 1.2.2 and potato


Hi! Simon,

I was not able to run "javac" command on my potato-i386 box and I gave following
commands...
May be this will help you...

seinfeld:/etc/alternatives# update-alternatives --install /usr/bin/javac javac
/usr/local/java/bin/javac 120
seinfeld:/etc/alternatives# type javac
javac is /usr/bin/javac
seinfeld:/etc/alternatives# ls -l /usr/bin/javac
lrwxrwxrwx 1 root root 23 May 30 16:23 /usr/bin/javac ->
/etc/alternatives/javac
seinfeld:/etc/alternatives# ls -l javac
lrwxrwxrwx 1 root root 25 May 30 16:23 javac
->/usr/local/java/bin/javac

Harvey


"Dr. Simon Read" wrote:

> Folks,
>
> I'm having very serious problems with Sun's JDK 1.2.2 (and Blackdown's
> too) with potato on both my i386 and SPARC boxes.
>
> I've followed the installation instructions supplied with each, but I
> still get NoClassDefFoundError exceptions even for simple HelloWorld
> classes.
>
> I believe the problem is with /etc/alternatives system. I have the
> dummy java compiler and virtual machine installed.
>
> Can someone help? I want either to set up a configuration file for
> JDK1.2.2 or to rip out (purge, expunge, completely remove) the
> alternatives for java. I'd be happy to RTFM is someone can point me
> to one.
>
> I think the Java package maintainers should give serious thought to
> their policy, especially with respect to Java 2. Java and CORBA are
> likely to be the basis of a new class of distributed systems that will
> change the way enterprises build systems. If Debian does not keep
> pace with Sun's releases, however repugnant Sun's SCSL may be, it will
> exclude an important class of user groups. Having been an ardent
> Debian supporter from it's inception, I am on the edge of becoming
> sufficiently frustrated with Debian to consider a much less
> 'politically correct' distribution because of issues such as this.
>
> Simon Read
>
> Dept. of Comp. Sci. and Info. Sys.
> Clark 120
> American University
> 4400 Massachusetts Avenue, NW
> Washington, DC 20016
> Tel: 1 202 885 3128
> Fax: 1 202 885 1479
> Email:
> WWW: www.csis.american.edu/~simon
>
> --
> To UNSUBSCRIBE, email to
> with a subject of "unsubscribe". Trouble? Contact

Offline

#3 June 5, 2000 11:12:15

Stephane B.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Severe problems with JDK 1.2.2 and potato


On Saturday 3 June 2000, at 0 h 26, the keyboard of "Dr. Simon Read"
<> wrote:

> I think the Java package maintainers should give serious thought to
> their policy, especially with respect to Java 2.

The fact that Java 2 is not publicly redistributable is beyond Debian's
control.

> Java and CORBA are
> likely to be the basis of a new class of distributed systems that will
> change the way enterprises build systems.

Pure marketing hype. And even if Corba succeeds (remember that KDE just
dropped Corba), you cannot be sure it will be with Java. (Oh, BTW, I use
Java+Corba with the JDK 1.1 shipped with Potato.)

Offline

#4 June 6, 2000 13:41:31

Pontus L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Severe problems with JDK 1.2.2 and potato


Hello Simon,

> I'm having very serious problems with Sun's JDK 1.2.2 (and Blackdown's
> too) with potato on both my i386 and SPARC boxes.
>
> I've followed the installation instructions supplied with each, but I
> still get NoClassDefFoundError exceptions even for simple HelloWorld
> classes.
>
> I believe the problem is with /etc/alternatives system. I have the
> dummy java compiler and virtual machine installed.
>
> Can someone help? I want either to set up a configuration file for
> JDK1.2.2 or to rip out (purge, expunge, completely remove) the
> alternatives for java. I'd be happy to RTFM is someone can point me
> to one.


I believe the correct solution is to edit /etc/java-vm to read something
like this:

/usr/local/jdk1.2.2/bin/java

At least I have had no problems with the Blackdown JDK 1.2.2 on my potato
machine. I haven't touched my `alternatives' settings.

Regards,

Pontus

--
Pontus Lidman, , Software Engineer
No matter how cynical you get, it's impossible to keep up.
Scene: www.dc-s.com | MUD: tyme.envy.com 6969 | irc: irc.quakenet.eu.org

Offline

#5 Oct. 28, 2017 00:37:50

RichardHoorm
Registered: 2017-10-23
Posts: 5
Reputation: +  0  -
Profile   Send e-mail  

Severe problems with JDK 1.2.2 and potato

This post is being moderated

Offline

  • Root
  • » Java
  • » Severe problems with JDK 1.2.2 and potato [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support