- Joined
- Aug 29, 2010
- Messages
- 11
- Reaction score
- 0
Re: [Tut]Fixing the Java is not recognized as an internal or external command... prob
Thanks
Thanks
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!C:\Program Files\Java\jre6\bin
how will that ever help me with the java error
You can just set your jdk folder as an environment variable.
Start -> Right Click Computer and Click Properties -> Click Advanced System Settings -> Environment Variables -> In System Variables Double Click On Path and put wherever your jdk's \bin folder is located at the end and if there isn't a semi-colon after the entry before the one you are inputting you add one.
sir u have email? need help... im stuck on make java running...
@echo off@title TiredStory Channel Server
set CLASSPATH=.;dist\TiredStory.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar
java -Xmx600m -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd -Dcom.sun.management.jmxremote.access.file=jmxremote.access -Drecvops=recvops.properties -Dsendops=sendops.properties net.channel.ChannelServer
pause
Sorry for bumping old threads, but I just want to know...
I was trying to fix my Java internal/external thing for server making.
I followed this tutorial, and when it asked me to put in my "C:\Program Files\Java\jre8\bin" in the launch_channel.bat, I didn't know where I was suppose to put it in.
Because the launch_channel.bat didn't look quite similar to the one in the image.
Mines look like:
So where exactly am i suppose to put the link at?Code:@echo off@title TiredStory Channel Server set CLASSPATH=.;dist\TiredStory.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar java -Xmx600m -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd -Dcom.sun.management.jmxremote.access.file=jmxremote.access -Drecvops=recvops.properties -Dsendops=sendops.properties net.channel.ChannelServer pause
Also, TiredStory is just a test subject until I actually fix my java and then I'll change it what my server name is actually.
I reinstall 3 times already. It gives me the same error over and over.Just reinstall Java to the Program Files folder
Sorry for bumping old threads, but I just want to know...
I was trying to fix my Java internal/external thing for server making.
I followed this tutorial, and when it asked me to put in my "C:\Program Files\Java\jre8\bin" in the launch_channel.bat, I didn't know where I was suppose to put it in.
Because the launch_channel.bat didn't look quite similar to the one in the image.
Mines look like:
So where exactly am i suppose to put the link at?Code:@echo off@title TiredStory Channel Server set CLASSPATH=.;dist\TiredStory.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar java -Xmx600m -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd -Dcom.sun.management.jmxremote.access.file=jmxremote.access -Drecvops=recvops.properties -Dsendops=sendops.properties net.channel.ChannelServer pause
Also, TiredStory is just a test subject until I actually fix my java and then I'll change it what my server name is actually.
You can just set your jdk folder as an environment variable.
Start -> Right Click Computer and Click Properties -> Click Advanced System Settings -> Environment Variables -> In System Variables Double Click On Path and put wherever your jdk's \bin folder is located at the end and if there isn't a semi-colon after the entry before the one you are inputting you add one.
I don't think you read what I said. This thread doesn't talk about going to system properties which I have already done so. It ask me to go to my source folder > right click edit launch_channel.bat and paste the link in the notepad. Which I am asking, where am I suppose to put it because my coding is different from the notepad itself.Please read an entire thread before bumping it. Thanks!
Here:
Instructions also at:
You must be registered to see links
Sorry for bumping old threads, but I just want to know...
I was trying to fix my Java internal/external thing for server making.
I followed this tutorial, and when it asked me to put in my "C:\Program Files\Java\jre8\bin" in the launch_channel.bat, I didn't know where I was suppose to put it in.
Because the launch_channel.bat didn't look quite similar to the one in the image.
Mines look like:
So where exactly am i suppose to put the link at?Code:@echo off@title TiredStory Channel Server set CLASSPATH=.;dist\TiredStory.jar;dist\mina-core.jar;dist\slf4j-api.jar;dist\slf4j-jdk14.jar;dist\mysql-connector-java-bin.jar java -Xmx600m -Dwzpath=wz\ -Djavax.net.ssl.keyStore=filename.keystore -Djavax.net.ssl.keyStorePassword=passwd -Djavax.net.ssl.trustStore=filename.keystore -Djavax.net.ssl.trustStorePassword=passwd -Dcom.sun.management.jmxremote.access.file=jmxremote.access -Drecvops=recvops.properties -Dsendops=sendops.properties net.channel.ChannelServer pause
Also, TiredStory is just a test subject until I actually fix my java and then I'll change it what my server name is actually.
o.0 wut? As far as I know, it's because your system can't find where Java is located. You have to set Java in your PATH through Environmental Variables. Open Control Panel, go to System. Then go to Advanced. Click on Environmental Variables. Look at the bottom and you'll see System Variables. Look for PATH or Path. Open it. Type this in at the end.
Code:C:\Program Files\Java\jdk1.6.0_06\bin;
Where you see jdk1.6.0_06, make sure it is the version you have. Example. I have 1.6.0_07 so mine would say...
Code:C:\Program Files\Java\jdk1.6.0_07\bin;
Be sure you have the semi-colon at the end or it will fail. Also, be sure you don't have an extra \ anywhere.