File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Java Installation and settings Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Java Installation and settings" Watch "Java Installation and settings" New topic

Java Installation and settings

Tusshar Shah

Joined: Sep 23, 2008
Posts: 7
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.

Best Regards<br />Tusshar Shah
awad saleh

Joined: Jul 04, 2007
Posts: 22
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

Joined: Aug 16, 2005
Posts: 15101

Read the JDK installation instructions for information on what environment variables you might need to set.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Java Installation and settings
It's not a secret anymore!