This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Installation and settings

 
Tusshar Shah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have recently started my preparation for SCJP. I want to know which applications needs to be installed so that i can do programming in java.

As per my knowledge i need jdk1.6 and editplus.
please correct me if i am wrong.

I also want to know do i need to do any particular settings in my computer to run java programs. I think i have to edit environment variable, not sure though.

Please help.
 
awad saleh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello.....
if you have installed editplus, then you have to follow this steps to give the path of your jdk.1.6:-
1. Click on the tools and select preferences
2. Click Add Tools button and select program. Give Program name in Menu text(ex: compile).
3. In Command Field select the path of the compiler(Ex:C:\Program Files\Java\jdk1.5.0_05\bin\javac.exe).
4. In Arguments field click on file name.
5.In Initial Directory field click on file directory.
6.mark options capture output and save open file and select apply.
7.repeat step 2 for adding a new program .(ex: Run)
8.then repeat step 3.(ex: C:\Program Files\Java\jdk1.5.0_05\bin\java.exe). here we select java.exe, not javac.exe.
9.In Arguments field click on file name without extension.
10.repeat step 5 and 6.
11. select View from main option and mark on user toolbar.
12. Ctr+1 for compilation and ctr+2 for running .




now you can run and compile the programs
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read the JDK installation instructions for information on what environment variables you might need to set.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic