Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-18-2002, 01:20 PM   #1
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
java sdk 1.4 - problem compiling

I've just downloaded j2sdk 1.4 from SUN and textpad 4.0 too so that I can start learning a bit of java and see if my programmes work. Unfortunately with anything I try to compile it says "The system cannot find the file specified" and its talking about "javac.exe". Have I done something wrong? What am I missing or what can I change? Somebody suggested I need to do something with the "path" but I don't really know what that means - a little help would be much appreciated.
Thanks,
Craig.
craigtaylor74 is offline   Reply With Quote
Old 10-18-2002, 01:52 PM   #2
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
PATH is a system variable that tells the OS where to look when you type in a program at the command prompt. To see what the path variable contains, type set path at the command prompt and press enter. If it isn't already there, you will have to add something like "C:\j2sdk1.4.0_02\bin" to tell your PC where to find the javac.exe file. Changing the path variable depends on the OS you are using; which one do you have?
doctorgonzo is offline   Reply With Quote
Old 10-18-2002, 04:22 PM   #3
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
I've got XP. If I go tinkering about with the Path stuff, can i do some damage?
craigtaylor74 is offline   Reply With Quote
Old 10-18-2002, 04:34 PM   #4
Professional gadfly
 
doctorgonzo's Avatar
 
Join Date: Jan 2002
Location: Minneapolis, MN
Posts: 6,364
Send a message via MSN to doctorgonzo
It's not the registry, so you can't really do much damage. For XP, right-click on "My Computer" and select Properties. Click on the Advanced tab, and then click on "Environment Variables." On the bottom half, find the Path variable and click edit. Then just add ";C:\j2sdk1.4.0_02\bin" to the end (semicolons separate the values). Substitute the exact path if that isn't it for you. You should then be set.
doctorgonzo is offline   Reply With Quote
Old 10-18-2002, 07:12 PM   #5
Member (7 bit)
 
Join Date: Jan 2002
Location: Barcelona
Posts: 85
thanks. that sorted it. ta for your advice.
craigtaylor74 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

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



All times are GMT -5. The time now is 12:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2