Jump to content
  • 0

java not recognized


barnsey

Question

when i launch the launch.bat i get this:

C:\Users\Harry\Desktop\minecraft surver\Tekkit Survival>java -Xmx3G -Xms2G -jar

Tekkit.jar nogui

'java' is not recognized as an internal or external command,

operable program or batch file.

C:\Users\Harry\Desktop\minecraft surver\Tekkit Survival>pause

Press any key to continue . . .

Any ideas? please

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Read the stickies, the bug report format is required so we have the information we need to help you, Harry. =p

Luckily this is a very common problem, I believe the solution is also stickied actually. You just have to add java to the PATH. You can google it.

http://forums.technicpack.net/index.php/topic,2797.0.html

Try changing your path in the bat to the full java path. Should look something like:

C:\Program Files\Java\jre7\bin\java.exe

That would work but it is a temporary solution. Would have to do that for every bat that runs java.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...