Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I run Java on my computer

 
Sheikh Neyamat
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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.
 
Amit More
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
javac filename.java

Step 3:
Then execute your code as :
java filename
 
Cam Ferguson
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;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
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic