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 How can I run Java on my computer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How can I run Java on my computer" Watch "How can I run Java on my computer" New topic

How can I run Java on my computer

Sheikh Neyamat

Joined: Dec 09, 2003
Posts: 1
I am Sheikh Md. Neyamat Ullah. I am interested in Java programming language. I installed jdk-1.4 in my computer and jbuilder IDE software for programming. I borrowed a book from my university library but any of my program is not running. I defined path of jdk to the IDE software.
Now, I want suggestion that how I can start java in my computer, which books will be helpful for me? How can I expert in Java.

sk. neyamat
Amit More

Joined: Oct 16, 2003
Posts: 24
Hi Sheikh,
Here are the steps to follow :

Step 1 :
You can set the path for java from command promt as shown below:
set PATH=%PATH%;C:\j2sdk\bin;.
Here I installed java in 'j2sdk' directory. You can specify your own directory name , by default it is like 'j2sdk.version'

Step 2:
Then compile your java code using command

Step 3:
Then execute your code as :
java filename

Thanks,<br />Amit
Cam Ferguson

Joined: Dec 09, 2003
Posts: 4;dl=download_jgrasp.html
Is a little easier to use once it's set up, but setting it up can be kind of complicated.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Welcome to JavaRanch, Sheikh!
As you're getting started learning Java, you might find the following free resources on the internet to be useful.
  • Sun's Java Tutorial
  • Introduction to Computer Science using Java by Bradley Kjell
  • Introduction to Programming Using Java by David J. Eck
  • Dick Baldwin's Java Programming Tutorials
  • Interactive Programming In Java by Lynn Andrea Stein
  • Bruce Eckel's Thinking In Java

  • If you're still stuck on compiling and running your first Java program, you might want to take a look at Sun's Java Tutorial Lesson on Your First Cup of Java.
    Good luck.

    [How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
    It is sorta covered in the JavaRanch Style Guide.
    subject: How can I run Java on my computer
    It's not a secret anymore!