RE: Java/Javac Compiler
I figured it may be something with my classpath which is set in the environment variables. I already have this existing path (C:\Program files\allaire\jrun\lib\ext\;c:\jdk1.2.2\lib\). And now that I understand that I need to use the javac command first (i'm trying to make my first servlet) I get this error.'javac' is not recognized as an internal or external command, operable program or batch file. Thanks for all the feedback. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Java/Javac Compiler
Chris, Javac is in the jdk1.2.2\bin directory. Try putting c:\jdk1.2.2\bin in your system path. HTH. Ted Zimmerman -Original Message- From: Chris Jenkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 03, 2002 8:17 AM To: JRun-Talk Subject: RE: Java/Javac Compiler I figured it may be something with my classpath which is set in the environment variables. I already have this existing path (C:\Program files\allaire\jrun\lib\ext\;c:\jdk1.2.2\lib\). And now that I understand that I need to use the javac command first (i'm trying to make my first servlet) I get this error.'javac' is not recognized as an internal or external command, operable program or batch file. Thanks for all the feedback. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Java/Javac Compiler
There is an archive at: http://groups.yahoo.com/group/jrun-development/ Drew Falkman Author, JRun Web Application Construction Kit http://www.drewfalkman.com/books/0789726009/ -Original Message- From: Chris Jenkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 10:08 AM To: JRun-Talk Subject: Java/Javac Compiler I wish there was an archives to search because i'm new to the list and I hope this hasn't been discussed before. I'm trying to compile my .java files. At the command prompt i type java file.java. I receive an error stating. exception in thread main java.lang.NoClassDefFoundError I'm running jrun 3.1 Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Java/Javac Compiler
It sounds like you may need to add classpath info. Soething like this: javac *.java -classpath c:\jrun\nozomi\lib\ejb2_0.jar;c:\jrun\nozomi\lib\jta.jar; Your classpath may difer, of course. Hope this helps. Barry Charles JRun QA -Original Message- From: Chris Jenkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:08 PM To: JRun-Talk Subject: Java/Javac Compiler I wish there was an archives to search because i'm new to the list and I hope this hasn't been discussed before. I'm trying to compile my .java files. At the command prompt i type java file.java. I receive an error stating. exception in thread main java.lang.NoClassDefFoundError I'm running jrun 3.1 Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Java/Javac Compiler
You need to run javac ClassName.java to compile and java ClassName to run it. Of course, you can add extra classpath as needed. Shengtong Zhang -Original Message- From: Barry Charles [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 2:06 PM To: JRun-Talk Subject: RE: Java/Javac Compiler It sounds like you may need to add classpath info. Soething like this: javac *.java -classpath c:\jrun\nozomi\lib\ejb2_0.jar;c:\jrun\nozomi\lib\jta.jar; Your classpath may difer, of course. Hope this helps. Barry Charles JRun QA -Original Message- From: Chris Jenkins [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 1:08 PM To: JRun-Talk Subject: Java/Javac Compiler I wish there was an archives to search because i'm new to the list and I hope this hasn't been discussed before. I'm trying to compile my .java files. At the command prompt i type java file.java. I receive an error stating. exception in thread main java.lang.NoClassDefFoundError I'm running jrun 3.1 Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Java/Javac Compiler
Hi Chris For comiplation you must type javac file.java thats it!! /amit --- Chris Jenkins [EMAIL PROTECTED] wrote: I wish there was an archives to search because i'm new to the list and I hope this hasn't been discussed before. I'm trying to compile my .java files. At the command prompt i type java file.java. I receive an error stating. exception in thread main java.lang.NoClassDefFoundError I'm running jrun 3.1 Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists __ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. Archives: http://www.mail-archive.com/jrun-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists