Re: j2sdk1.4 compilation errors, any good online source for info?
thanks I put all the listed jars in my classpath and it worked. thanks again. - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 10:47 PM Subject: Re: j2sdk1.4 compilation errors, any good online source for info? All the standard classes are in rt.jar, Leil. The rt is for runtime. At 09:25 PM 3/20/02 -0800, you wrote: Hi Michael, Thanks for the answer, I'm trying to setup my CLASSPATH to find the jar file that contains the definition for String. My problem is that I can't find it!! It used to be in j2ee.jar in j2skee-1_3_01. My name is Leila and it's Persian. - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 6:05 PM Subject: Re: j2sdk1.4 compilation errors, any good online source for info? Leil, If you just want to compile, you can set the command line at the jdk1.4/bin/ (where javac is)and then enter javac /usr/local/myapp/MyClass.java or wherever the class is. But, what you really need to do is to set up your CLASSPATH environmental variables in /etc/profile to the appropriate locations to find javac, java, your classes, etc. There is no problem with RH 7.2 and j2k1.4. I use that. Hope this is helpful. Micael What sort of name is Leil? Never seen that before. Looks cool! At 08:52 PM 3/20/02 -0800, you wrote: Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leil -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
j2sdk1.4 compilation errors, any good online source for info?
Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leila
Re: j2sdk1.4 compilation errors, any good online source for info?
Leil, If you just want to compile, you can set the command line at the jdk1.4/bin/ (where javac is)and then enter javac /usr/local/myapp/MyClass.java or wherever the class is. But, what you really need to do is to set up your CLASSPATH environmental variables in /etc/profile to the appropriate locations to find javac, java, your classes, etc. There is no problem with RH 7.2 and j2k1.4. I use that. Hope this is helpful. Micael What sort of name is Leil? Never seen that before. Looks cool! At 08:52 PM 3/20/02 -0800, you wrote: Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leil -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: j2sdk1.4 compilation errors, any good online source for info?
You need to also set it for YOUR_HOME=/usr/whatever/.../your_root_directory JAVA_HOME=/usr/whatever/.../j2sdk1.4 CLASSPATH=$CLASSPATH:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/htmlconverter.jar:4JAVA_HOME/lib/servlet.jar:$YOUR_HOME PATH=$PATH:$JAVA_HOME/bin Okay dokay? Micael At 08:52 PM 3/20/02 -0800, you wrote: Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leila -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: j2sdk1.4 compilation errors, any good online source for info?
Hi Michael, Thanks for the answer, I'm trying to setup my CLASSPATH to find the jar file that contains the definition for String. My problem is that I can't find it!! It used to be in j2ee.jar in j2skee-1_3_01. My name is Leila and it's Persian. - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 6:05 PM Subject: Re: j2sdk1.4 compilation errors, any good online source for info? Leil, If you just want to compile, you can set the command line at the jdk1.4/bin/ (where javac is)and then enter javac /usr/local/myapp/MyClass.java or wherever the class is. But, what you really need to do is to set up your CLASSPATH environmental variables in /etc/profile to the appropriate locations to find javac, java, your classes, etc. There is no problem with RH 7.2 and j2k1.4. I use that. Hope this is helpful. Micael What sort of name is Leil? Never seen that before. Looks cool! At 08:52 PM 3/20/02 -0800, you wrote: Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leil -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: j2sdk1.4 compilation errors, any good online source for info?
Thanks for the answer, I'm trying to setup my CLASSPATH to find the jar file that contains the definition for String. My problem is that I can't find it!! It used to be in j2ee.jar in j2skee-1_3_01. You probably shouldn't be using any other definition of java.lang.String than the one in $JAVA_HOME/jre/lib/rt.jar -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: j2sdk1.4 compilation errors, any good online source for info?
All the standard classes are in rt.jar, Leil. The rt is for runtime. At 09:25 PM 3/20/02 -0800, you wrote: Hi Michael, Thanks for the answer, I'm trying to setup my CLASSPATH to find the jar file that contains the definition for String. My problem is that I can't find it!! It used to be in j2ee.jar in j2skee-1_3_01. My name is Leila and it's Persian. - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 20, 2002 6:05 PM Subject: Re: j2sdk1.4 compilation errors, any good online source for info? Leil, If you just want to compile, you can set the command line at the jdk1.4/bin/ (where javac is)and then enter javac /usr/local/myapp/MyClass.java or wherever the class is. But, what you really need to do is to set up your CLASSPATH environmental variables in /etc/profile to the appropriate locations to find javac, java, your classes, etc. There is no problem with RH 7.2 and j2k1.4. I use that. Hope this is helpful. Micael What sort of name is Leil? Never seen that before. Looks cool! At 08:52 PM 3/20/02 -0800, you wrote: Could someone please suggest a good online source for getting some detail information on compilation errors with J2sdk1.4. I am trying to port an application that has been compiled and tested on NT with j2sdkee-1_3_01 libraries. The new system RH7.2 using the new j2sk1.4 whines about not finding String class definition with a [JLS 8] stuck to the end of the message. I'm using javac (haven't the time to learn forte) from command line and have set my classpath to see j2sk1.4/lib/tools.jar and j2sdk1.4/jre/lib/jsse.jar thanks in advance for any help and suggestions Leil -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]