Originally posted by Ulf Dittmer:
I'm assuming you're asking how to get rid of this warning message?
If so, you can recompile using the "-deprecation" and/or "-Xlint" flag, and you'll get a more elaborate message of what the compiler is upset about. Something like "javac -deprecation -Xlint MyClass.java".
Originally posted by Austin Lee:
Try the JDBC, but using the linux is more better for database programming.
Originally posted by Will Hoskins:
1. Might the editor be adding ".txt" to the file name you give it? If you start with Prime.java, does the editor write Prime.java.txt?
2. In your example you refer to Prime.Jave but prime.class. If the name starts with capital P then you should javac Prime.java and this should create Prime.class also with a capital.
[ February 10, 2008: Message edited by: Will Hoskins ]
Originally posted by Jiuxing Liu:
Simple like this :
(Win 2000)
java_home like this : e:\jdk
path like this : %java_home%\bin
classpath like this : %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
if your OS is others , don't like this !!