|
|
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.
|
|

05-26-2008, 06:04 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
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.
|
|

05-26-2008, 06:16 AM
|
|
Senior Member
|
|
Join Date: Jul 2007
Posts: 1,222
|
|
Go to Java SE Downloads and choose the download marked with the header "JDK 6 Update 6". See installation instructions link under header.
|
|

05-26-2008, 06:30 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
Ok I downloaded it, but I don't know what to do after I download it.
__________________
I am a Java n00b.
|
|

05-26-2008, 06:35 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
|
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.
|
|

05-26-2008, 06:43 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
This is what pops up.
What do I do now?
__________________
I am a Java n00b.
|
|

05-26-2008, 06:57 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
Friendly bump
__________________
I am a Java n00b.
|
|

05-26-2008, 07:07 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
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.
|
|

05-26-2008, 07:42 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
Thanks, I haven't gotten this far yet before.
How do I set the class path?
__________________
I am a Java n00b.
|
|

05-26-2008, 08:09 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
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.
|
|

05-26-2008, 09:00 AM
|
|
Member
|
|
Join Date: May 2008
Posts: 17
|
|
|
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.
|
|

05-26-2008, 09:33 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
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.
|
|

05-26-2008, 07:33 PM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
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.
|
|

05-26-2008, 07:52 PM
|
 |
Senior Member
|
|
Join Date: Jan 2008
Location: Cebu City, Philippines
Posts: 527
|
|
|
__________________
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.
|
|

05-27-2008, 05:33 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
Originally Posted by Zebra
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.
|
|

05-29-2008, 05:29 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
|
The only think I don't get is where am I suppose to "path" this to. Like what folder?
__________________
I am a Java n00b.
|
|

05-29-2008, 05:32 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
|
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.
|
|

05-29-2008, 05:33 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
Originally Posted by Eranga
You have to your Java installation path. Actually to the bin folder of it.
Where should I look?
__________________
I am a Java n00b.
|
|

05-29-2008, 05:34 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
|
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.
|
|

05-29-2008, 05:38 AM
|
 |
Member
|
|
Join Date: Apr 2008
Location: Louisville, Indiana/Kentucky
Posts: 64
|
|
Originally Posted by Eranga
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.
|
|

05-29-2008, 05:46 AM
|
 |
Moderator
|
|
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,376
|
|
|
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.
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
| | |