Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
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 08-09-2007, 08:18 PM
Member
 
Join Date: Aug 2007
Posts: 5
Neon Blue is on a distinguished road
Configure J2 SDK1.3.1_20 on XP
Compaq Armada E500 laptop 696Hz, 18GB, 320MB, WinXP

Have an older Sam's text, "Learn Java 2 in 21 Days" Covering SDK 1.3, published in 2000

Downloaded SDK 1.3.1_20 from Sun archives yesterday but apparently having trouble configuring it. It is the only development tool on the computer. There are, however, two JRE folders in the \Program Files.

The text suggests launching Notepad and opening AUTOEXEC.BAT to edit the PATH and CLASS variables. I cannot find the AUTOEXEC.BAT file. A reply from an inquiry to an XP forum suggests the functionality of AUTOEXEC.BAT now resides in the Registery; but the reply offered no suggestions of how to edit Registery variables.

Any help is welcome and appreciated

Last edited by Neon Blue : 08-09-2007 at 08:19 PM. Reason: typo
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-10-2007, 06:43 PM
Member
 
Join Date: Aug 2007
Posts: 5
Neon Blue is on a distinguished road
OK, So I have learned to find the Environmental Variables in Properties of My Computer. What do I enter when I edit? You know, specific terms, syntax, etc. I am not experienced with Windows, but I am committed to learn Java and would like to use the text and version of Java I currently have before I go looking for later versions and text.
Thanks
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 08-10-2007, 07:57 PM
Member
 
Join Date: Aug 2007
Posts: 2
Vengeance45 is on a distinguished road
You would want to add the path to your Java /bin directory into your windows path.

Typically that is C:\Program Files\Java\jdk-1.3.1\bin. Add that to your PATH variable in the Windows Environment settings window. (Make sure you put a semi-colon in between paths)

Just a bit of a suggestion...

You really should look into using a more recent version of Java. Seeing that you are just learning, all the versions are roughly the same. Problem is that 1.3 is/will be shortly become unsupported by Sun. I would recommend Java 1.5 right now. All the functionality of 1.3.1 is available in 1.5 so you could probably even use the same book (although since the book is telling you to modify your autoexe.bat file, it is clearly a bit outdated as well).
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 08-13-2007, 11:19 PM
Member
 
Join Date: Aug 2007
Posts: 5
Neon Blue is on a distinguished road
[quote=Vengeance45;6411]You would want to add the path to your Java /bin directory into your windows path.

Typically that is C:\Program Files\Java\jdk-1.3.1\bin. Add that to your PATH variable in the Windows Environment settings window. (Make sure you put a semi-colon in between paths)

Thanks, Closer reading of the text showed both practices, modifying the variables via text editor > autoexec.bat and to use Windows Environment settings as you suggest. I found out that the editing was done from the front of the PATH. It worked for both the Win 2000 laptop and the Win XP laptop and now SDK 1.3 is configured on both computers, but code only compiles on the Win 2000 computer. Maybe a newer version of SDK will compile on the XP computer.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to configure "keep alive" in Sockets? rajdotme Networking 1 04-17-2008 12:36 AM
how to configure a JNDI URL resource rinks Advanced Java 0 03-12-2008 05:57 PM
How to configure JavaDocs in Eclipse javaplus New To Java 3 11-26-2007 07:17 PM
Unable to configure JNDI properties amitid4forum Java Blogs 0 11-26-2007 04:37 PM


All times are GMT +3. The time now is 10:53 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org