File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Install and run Java development on machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Install and run Java development on machine" Watch "Install and run Java development on machine" New topic

Install and run Java development on machine

Paresh Chinchankar

Joined: Jan 08, 2005
Posts: 2
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
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.
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
Here's the absolute minimum in the Windows world ...

See if that works for you. Then we can talk about packages or some other fun stuff.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Paresh Chinchankar

Joined: Jan 08, 2005
Posts: 2
Thanks. Got it working finally. Wrote a file containing Hello class.
Could quite understand why the "java -version" command is for.
did not use any version info in the file

Would post any further queries.

This site is really good and people like you do come forward to help.
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
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.

Keep Coding!

[ January 16, 2005: Message edited by: Layne Lund ]

Java API Documentation
The Java Tutorial
Andris Jekabsons
Ranch Hand

Joined: Jan 20, 2004
Posts: 82
If you are interested more in this and and other commands, just type in
> java -help
> 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.
I agree. Here's the link:
subject: Install and run Java development on machine
It's not a secret anymore!