Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-26-2008, 06:04 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
What do I need to write programs at home (help)
I program at school. And, I am wanting to install Java on my computer at home and write programs. I would like to know what I need to download to do this. I would prefer to use TextPad to write my code. I have Windows XP SP2. Thanks!
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-26-2008, 06:16 AM
Senior Member
 
Join Date: Jul 2007
Posts: 1,222
hardwired is on a distinguished road
Go to Java SE Downloads and choose the download marked with the header "JDK 6 Update 6". See installation instructions link under header.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-26-2008, 06:30 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
Ok I downloaded it, but I don't know what to do after I download it.
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-26-2008, 06:35 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Just install it first. Then you have to set the class path.

First install it. Did you?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-26-2008, 06:43 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
This is what pops up.

What do I do now?
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-26-2008, 06:57 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
Friendly bump
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 05-26-2008, 07:07 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
That's is download manager. Close it. Then go to this page.

Click here.

On that page select Platform as Windows. Accept the license agreement. And click continue.

On next page you have two options. Off line or online download. Choose what you want.

You get the download manager because of the inline installation. But it not directed to download. May be something is wrong there.

Try it and see.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 05-26-2008, 07:42 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
Thanks, I haven't gotten this far yet before.

How do I set the class path?
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 05-26-2008, 08:09 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Here is a full detail link.

Setting PATH and CLASSPATH

Be careful if you edit the autoexec.bat file.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 05-26-2008, 09:00 AM
Member
 
Join Date: May 2008
Posts: 17
greyhat is on a distinguished road
after downloading java start using it with command prompt
__________________
Rgds
GreyHat
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
and ya keep
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 05-26-2008, 09:33 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Yep, That's what he wants to do. Nice to see that he's going to use NotePad/Command Prompt in initial stage.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 05-26-2008, 07:33 PM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
I am confused at this part.

If you see a New button and not a Set button:

* Click New.
* In the Name field, type PATH.
* In the Value field, type the following (where you should use replace "j2sdk1.4.1_01" with whatever directory name is correct for your installation of java):

%path%;c:\j2sdk1.4.1_01\bin

* Click OK to complete that variable.
* Click in the User variables window.
* Click New and create a variable named CLASSPATH with the following value:

%classpath%;.

* Click OK to complete that variable.
* Exit all windows and programs, especially any command prompt window. Try the java and javac commands again to see if they work now. If they do not, restart your computer and try the java and javac commands again.
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #13 (permalink)  
Old 05-26-2008, 07:52 PM
sukatoa's Avatar
Senior Member
 
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
sukatoa is on a distinguished road
Send a message via Yahoo to sukatoa
try this,

Hope it helps,
__________________
A specific, detailed, simple, well elaborated, and "tested before asking" question may gather more quick replies. hopefully
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #14 (permalink)  
Old 05-27-2008, 05:33 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
Quote:
Originally Posted by Zebra View Post
I am confused at this part.

If you see a New button and not a Set button:

* Click New.
* In the Name field, type PATH.
* In the Value field, type the following (where you should use replace "j2sdk1.4.1_01" with whatever directory name is correct for your installation of java):

%path%;c:\j2sdk1.4.1_01\bin

* Click OK to complete that variable.
* Click in the User variables window.
* Click New and create a variable named CLASSPATH with the following value:

%classpath%;.

* Click OK to complete that variable.
* Exit all windows and programs, especially any command prompt window. Try the java and javac commands again to see if they work now. If they do not, restart your computer and try the java and javac commands again.
Why are you confused there? Can't see those buttons. Here is the way in Windows XP.

Go to the control button. You can see an icon called System on classic view of control panel. Double click on it. You have System Properties dialog. Go to the Advanced tab. Click the Environment Variables button. There you can see two groups, User variables and System Variables You can do what that page explain. There you can see New button. Don't worry about the Set button.

Hope it's clear now.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #15 (permalink)  
Old 05-29-2008, 05:29 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
The only think I don't get is where am I suppose to "path" this to. Like what folder?
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #16 (permalink)  
Old 05-29-2008, 05:32 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You have to your Java installation path. Actually to the bin folder of it.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #17 (permalink)  
Old 05-29-2008, 05:33 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
Quote:
Originally Posted by Eranga View Post
You have to your Java installation path. Actually to the bin folder of it.
Where should I look?
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #18 (permalink)  
Old 05-29-2008, 05:34 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
On which drive you Windows is installed.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #19 (permalink)  
Old 05-29-2008, 05:38 AM
Zebra's Avatar
Member
 
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
Zebra is on a distinguished road
Quote:
Originally Posted by Eranga View Post
On which drive you Windows is installed.
Windows as in programs or what?

Sorry I am so confused, but I have never done this before.
__________________
I am a Java n00b.
Bookmark Post in Technorati
Reply With Quote
  #20 (permalink)  
Old 05-29-2008, 05:46 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
You are working on Windows XP, right? And you hard disk of the PC has partitions. On which drive(C or D or E or else) Windows XP is installed?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode