• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Install and run Java development on machine

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic