This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, This may be easy for all of you, but I simply cannot understand the steps.
I am trying to setup JAVA development environment on my machine. downloaded JDK1.5 from sun.jaava.com. Also, installed this JDK 1.5 on my machine. Beyod this, I am not able to proceed. I want to start writing simple Java applications.
Please help me in identifying, what needs to be done to run java programs on the desktop.
Thanks for your help in advance.
99%perspiration.<br />1%Inspiration. Search is on for that 1 percent.
The "java -version" command shows which version of Java you are using. First of all, this can indicate whether or not your operating system can find the Java executable. It can also tell you if it is using the version that you expect. This is especially useful if you have several versions of Java installed on a single machine. It looks like this isn't an issue for you, though, so don't worry about it. However, it may be helpful for later reference when you need to update your Java installation.
If you are interested more in this and and other commands, just type in > java -help or > javac -help (or simply java or javac). You will get a list of valid command line options. If you are interested, read some more about java or javac options.