File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Install and run Java development on machine

 
Paresh Chinchankar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Paresh Chinchankar
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Got it working finally. Wrote a Hello.java file containing Hello class.
Could quite understand why the "java -version" command is for.
did not use any version info in the hello.java file

Would post any further queries.

This site is really good and people like you do come forward to help.
 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!

Layne
[ January 16, 2005: Message edited by: Layne Lund ]
 
Andris Jekabsons
Ranch Hand
Posts: 82
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic