[rhn-users] Newbie: Installing jdk1.5.0_06 on FC3

Florez, Nestor NFlorez at sdcwa.org
Tue Jun 6 19:32:27 UTC 2006


OK,
 
Are you compiling something from scratch or are you running an existing application?
If you are running an existing application it might not be compatible with you java version.
 
Néstor :-)

-----Original Message-----
From: rhn-users-bounces at redhat.com [mailto:rhn-users-bounces at redhat.com]On Behalf Of Peter Kühnlein
Sent: Tuesday, June 06, 2006 12:16 PM
To: Red Hat Network Users List
Cc: Paul.Mallasch at Tectura.com
Subject: Re: [rhn-users] Newbie: Installing jdk1.5.0_06 on FC3


Thanks Paul,

I tried do that right away... with no success, however. Do you know a way to determine whether I got javax.* anyway? I mean: it should have been installed w/ the jdk distribution in the first place, as far as I got it, but ~ who knows?

/peter

Mallasch, Paul wrote:


I've had to also put Java in the path.
 
export PATH=$JAVA_HOME/bin:$PATH
 

-paul


  _____  

From: rhn-users-bounces at redhat.com [ mailto:rhn-users-bounces at redhat.com] On Behalf Of Peter Kühnlein
Sent: Tuesday, June 06, 2006 11:50 AM
To: rhn-users at redhat.com
Subject: [rhn-users] Newbie: Installing jdk1.5.0_06 on FC3


Dear Colleagues,

I'm a bloody java beginner and got an installation/configuration problem. I downloaded and installed sun's jdk1.5.0_06 to my FC3 box in /usr/share/jdk1.5.0_06/. I fiddled around with the symlinks to point to the binaries in .../bin/ and javac etc. now run. However, I get a 

java.lang.ClassCastException: SwingUI
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:721)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:650)
        at sun.applet.AppletPanel.run(AppletPanel.java:324)
        at java.lang.Thread.run(Thread.java:595)

when I try to view the class built from the simple code at the end of this message with appletviewer (all of the code there for completeness). I do think java doesn't find javax.* - and don't know how to tell it where it is. I've set my 

JAVA_HOME=/usr/share/jdk1.5.0_06/

(that's where my installation is).

Any idea what is going wrong here? (I posted a similar question to the parallel sun-list, but got no solution from there...)

THX, Peter


-- 

http://www.peter-kuehnlein.net

"The Way of the Samurai is in desperateness. Ten men or more cannot

 kill such a man."

(Hagakure)



Upcoming event:

http://www.constraints-in-discourse.org/cid06

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060606/b27d5356/attachment.htm>


More information about the rhn-users mailing list