<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=624172719-06062006>OK,</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=624172719-06062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=624172719-06062006>Are 
you compiling something from scratch or are you running an existing 
application?</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=624172719-06062006>If you 
are running an existing application it might not be compatible with you java 
version.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=624172719-06062006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=624172719-06062006>Néstor 
:-)</SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> rhn-users-bounces@redhat.com 
  [mailto:rhn-users-bounces@redhat.com]<B>On Behalf Of </B>Peter 
  Kühnlein<BR><B>Sent:</B> Tuesday, June 06, 2006 12:16 PM<BR><B>To:</B> Red Hat 
  Network Users List<BR><B>Cc:</B> Paul.Mallasch@Tectura.com<BR><B>Subject:</B> 
  Re: [rhn-users] Newbie: Installing jdk1.5.0_06 on 
  FC3<BR><BR></FONT></DIV><SMALL><FONT 
  face="Helvetica, Arial, sans-serif">Thanks Paul,<BR><BR>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?<BR><BR>/peter<BR></FONT></SMALL><BR>Mallasch, Paul wrote:<BR>
  <BLOCKQUOTE 
  cite=mid5303BDF3F253554E889BE362FA0C604EE56255@MAIL1.TecturaCorp.net 
  type="cite">
    <META content="MSHTML 6.00.2900.2873" name=GENERATOR>
    <DIV dir=ltr align=left><SPAN class=730320419-06062006><FONT face=Arial 
    color=#0000ff size=2>I've had to also put Java in the 
    path.</FONT></SPAN></DIV>
    <DIV dir=ltr align=left> </DIV>
    <DIV dir=ltr align=left><SPAN class=730320419-06062006><FONT face=Arial 
    color=#0000ff size=2>export PATH=$JAVA_HOME/bin:$PATH</FONT></SPAN></DIV>
    <DIV> </DIV><O:SMARTTAGTYPE 
    namespaceuri="urn:schemas-microsoft-com:office:smarttags" 
    name="City"></O:SMARTTAGTYPE><O:SMARTTAGTYPE 
    namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place" 
    downloadurl="http://www.5iantlavalamp.com/"></O:SMARTTAGTYPE>
    <STYLE>st1\:* {
        BEHAVIOR: url(#ieooui)
}
</STYLE>

    <STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"; mso-style-parent: ""; mso-pagination: widow-orphan; mso-fareast-font-family: "Times New Roman"
}
DIV.Section1 {
        page: Section1
}
</STYLE>

    <DIV class=Section1>
    <DIV>
    <P class=MsoNormal align=left><FONT color=#000000><SPAN 
    style="COLOR: rgb(0,51,105); FONT-FAMILY: Arial"><SPAN 
    class=730320419-06062006><STRONG></STRONG></SPAN></SPAN><FONT 
    face=Arial><FONT color=#0000ff><FONT size=2>-<SPAN 
    class=730320419-06062006>paul</SPAN></FONT></FONT></FONT><BR></FONT></P></DIV></DIV>
    <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
    <HR tabIndex=-1>
    <FONT face=Tahoma size=2><B>From:</B> <A class=moz-txt-link-abbreviated 
    href="mailto:rhn-users-bounces@redhat.com">rhn-users-bounces@redhat.com</A> 
    [<A class=moz-txt-link-freetext 
    href="mailto:rhn-users-bounces@redhat.com">mailto:rhn-users-bounces@redhat.com</A>] 
    <B>On Behalf Of </B>Peter Kühnlein<BR><B>Sent:</B> Tuesday, June 06, 2006 
    11:50 AM<BR><B>To:</B> <A class=moz-txt-link-abbreviated 
    href="mailto:rhn-users@redhat.com">rhn-users@redhat.com</A><BR><B>Subject:</B> 
    [rhn-users] Newbie: Installing jdk1.5.0_06 on 
    FC3<BR></FONT><BR></DIV><SMALL><FONT 
    face="Helvetica, Arial, sans-serif">Dear Colleagues,<BR><BR>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 <BR></FONT></SMALL><FONT 
    face="Courier New, Courier, monospace"><SMALL><BR>java.lang.ClassCastException: 
    SwingUI</SMALL><BR><SMALL>        at 
    sun.applet.AppletPanel.createApplet(AppletPanel.java:721)</SMALL><BR><SMALL>        
    at 
    sun.applet.AppletPanel.runLoader(AppletPanel.java:650)</SMALL><BR><SMALL>        
    at 
    sun.applet.AppletPanel.run(AppletPanel.java:324)</SMALL><BR><SMALL>        
    at java.lang.Thread.run(Thread.java:595)</SMALL></FONT><BR><SMALL><FONT 
    face="Helvetica, Arial, sans-serif"><BR>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).</FONT></SMALL><FONT 
    face="Helvetica, Arial, sans-serif"><SMALL> I do think java doesn't find 
    javax.* - and don't know how to tell it where it is. I've set my <BR><FONT 
    face="Courier New, Courier, monospace"><BR>JAVA_HOME=/usr/share/jdk1.5.0_06/</FONT><BR><BR>(that's 
    where my installation is).<BR><BR>Any idea what is going wrong here? (I 
    posted a similar question to the parallel sun-list, but got no solution from 
    there...)<BR><BR>THX, Peter<BR></SMALL></FONT></BLOCKQUOTE><PRE class=moz-signature cols="72">-- 
<A class=moz-txt-link-freetext href="http://www.peter-kuehnlein.net">http://www.peter-kuehnlein.net</A>
"The Way of the Samurai is in desperateness. Ten men or more cannot
 kill such a man."
(Hagakure)

Upcoming event:
<A class=moz-txt-link-freetext href="http://www.constraints-in-discourse.org/cid06">http://www.constraints-in-discourse.org/cid06</A>
</PRE></BLOCKQUOTE></BODY></HTML>