Can somebody help me with some of the basics? I'm using Notepad++ and Sun's
compiler.
1) I would like to set the classpath in Windows XP so that I don't have to
specify the entire path each time I try to compile. I tried going to
"Environment variables" in the control panel and put in a new user variable
"CLASSPATH" and I set it to .;"C:\Documents and Settings\jeff\My
Documents\MOUS Classes\Java". Do I need to reboot for this to take effect,
or am I missing something? Wont this make it so that I don't have to
specify each subdir of my Java dir?
2) If one creates several classes within a program, do you need to create
separate subdir's for each? Compile each separately?

Signature
Jeff Ciaccio
Dallas, GA
Hal Rosser - 24 Apr 2005 01:18 GMT
Another editor you may like is JGrasp. Its free, like notepad++, but unlike
notepad++, you can compile with a button click - and run the app with a
button click. It just makes the "modify-save-compile-run" process go a lot
quicker. And it colorizes the syntax like notepadd++. You'll like JGrasp
better than notepad++ for Java.
JC Home - 24 Apr 2005 02:57 GMT
Great - thanks! I'll check it out.

Signature
Jeff C
> Another editor you may like is JGrasp. Its free, like notepad++, but
> unlike
> notepad++, you can compile with a button click - and run the app with a
> button click. It just makes the "modify-save-compile-run" process go a lot
> quicker. And it colorizes the syntax like notepadd++. You'll like JGrasp
> better than notepad++ for Java.
jeremiah johnson - 24 Apr 2005 03:03 GMT
Eclipse is also a wonderful tool, once you figure out how to use it.
http://eclipse.org/ its not the most friendly tool to learn to use but
once you learn how to use it, IMHO its the best tool out there.
jeremiah
> Great - thanks! I'll check it out.
Tony Morris - 24 Apr 2005 05:20 GMT
> Can somebody help me with some of the basics? I'm using Notepad++ and Sun's
> compiler.
[quoted text clipped - 7 lines]
> 2) If one creates several classes within a program, do you need to create
> separate subdir's for each? Compile each separately?
Set your PATH
http://qa.jtiger.org/GetQAndA.action?qids=24&showAnswers=true
You don't want to set your CLASSPATH
http://qa.jtiger.org/GetQAndA.action?qids=25&showAnswers=true

Signature
Tony Morris
JTiger Unit Test Framework for J2SE 1.5
http://www.jtiger.org/
Java Q&A (FAQ, Trivia)
http://qa.jtiger.org/
http://xdweb.net/~dibblego/
Sean Anderson - 25 Apr 2005 17:34 GMT
Dick Chase's Java Editor is great, I like it better than netbeans IDE or
JBuilder. Easy to configure to compile from within, no button to run the
app but you dont need it. You need to put the JDK Bin folder in your PATH
(not CLASSPATH) eg PATH=.; \; c:\jdk14\bin;
you can associate Dick Chase's Java Editor with .JAVA files and it will open
them
You can have multiple windows open and they don't get in each-others way
Open a DOS box to run your Program. it's easier and you get to see the error
messages and scroll through them. It (the DOS box) also allows to to use
the arrow keys to recall previous commands so you don't jave to keep typing
"Java MyApp"
Sean