• Log in or sign up for an account here: https://www.sythe.org/login

*real* How to fix cmd when it closes quickly.

Status
Not open for further replies.

memzarama

Active Member
Joined
Jan 8, 2009
Sythe Gold
0
Messages
131
First tut, please enjoy.

1- Download the NEWEST JDK 6_20.
http://java.sun.com/javase/downloads/index.jsp

jdkpart1.png


Agree to the terms and conditions, and install Jdk 6_20.

2- Setting up Environmental Variables. Windows 07 users.( should be the same for most windows )
First Click on My computer> Properties> System Properties > Advanced System settings > Environmental Variables.

2180

advancedr.png

environmental.png

When you are on your Environmental variables, you should see two boxes like this. ( i rubbed the bottom bit out )
classpath.png

Now Click on "new" and for the Variable Name, call it "classpath"
and copy this.
C:\Program Files\Java\jdk1.6.0_20\bin;%CLASSPATH%;

And click on "new" again, and this time name it "path"
and copy this
C:\Program Files\Java\jdk1.6.0_20\bin.;

This leads your Command prompt to where your java is.
NOTE: if you dont know where your java is or what update you have this is for you.
Start> My computer> local disk drive C: > Program FILES> Java >
img189


Then you click on "BIN" and copy the adress at the top.
linkrs.png


Then go back to Number 2, and do it. Instead of my code, you put the one you just copied.

3- This should now work your command prompts, if not,
right click the thing your trying to open, ( command prompt )
and click on edit.
At the end, instead of EXIT, put in pause.
so for Example.
pauseb.png

And it should say, WHY it isnt working.

IF it says something like "NOCLASSDEF FOUND" Go back to step 2.
If it says something like " Java is an interal or external command" Go back to step 2.

Thanks, Please post ALL problems here.
Remember, my First TUT.
Positive comments please.
 
Hey so far i was good until step 3, got a little confussed as it didnt work and i have to right click and click on edit. Am i clicking the JAR file or the command promt, and what command prompt because the one the jar file brings up close right after it comes up. Thanks
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top