Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Help]Javac error

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
muffinman177
Master Cheater
Reputation: 0

Joined: 09 Dec 2006
Posts: 377
Location: Drury Lane

PostPosted: Sun Jun 03, 2007 5:07 pm    Post subject: [Help]Javac error Reply with quote

I downloaded the JDK6 thing from the java sun website, and then i read some HelloWorld tutorial.. after running the compile.bat, it says 'javac' is not an internal or external command. Can someone help me? the tutorial said it was a common mistake and I googled it and couldn't find any answers.
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jun 03, 2007 5:18 pm    Post subject: Reply with quote

You need to add javac to the list of global commands.

Or you could point your directory to the compiler with (CD) then use javac.

Whatever floats your boat.
Back to top
View user's profile Send private message
muffinman177
Master Cheater
Reputation: 0

Joined: 09 Dec 2006
Posts: 377
Location: Drury Lane

PostPosted: Sun Jun 03, 2007 5:22 pm    Post subject: Reply with quote

Where's the list? I'm really bad at this, you'll have to break it down... -.- sry

Edit: +rep


Last edited by muffinman177 on Sun Jun 03, 2007 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Sun Jun 03, 2007 5:25 pm    Post subject: Reply with quote

muffinman177 wrote:
Where's the list? I'm really bad at this, you'll have to break it down... -.- sry


Select Start -> Control Panel -> System -> Advanced -> Environment Variables -> System Variables -> Path.

Stick C:\Program Files\Java\jdk1.5.0_06\bin; (Or whatever your directory is.) at the beginning of Path.
Back to top
View user's profile Send private message
muffinman177
Master Cheater
Reputation: 0

Joined: 09 Dec 2006
Posts: 377
Location: Drury Lane

PostPosted: Sun Jun 03, 2007 6:11 pm    Post subject: Reply with quote

So i select path and click the edit button and change it to C:\Program Files\Java\Jdk1.6.0_0bin?
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Sun Jun 03, 2007 6:18 pm    Post subject: Reply with quote

muffinman177 wrote:
So i select path and click the edit button and change it to C:\Program Files\Java\Jdk1.6.0_0bin?

No, don't change it. Just add it to the beginning of what's there. Remember to add a semicolon at the end.

_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
Back to top
View user's profile Send private message
muffinman177
Master Cheater
Reputation: 0

Joined: 09 Dec 2006
Posts: 377
Location: Drury Lane

PostPosted: Sun Jun 03, 2007 6:32 pm    Post subject: Reply with quote

Oh.... Thanks.

Edit: Oh yay.. it works:)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites