Purpose: To Fix "Path Cannot Be Specified" Or "Java Is Not Reconised" OR "You Dont Have JDK 5.0 or 6.0" In Your Compiler.
Difficulty: 1-2
Assumed Knowledge: <------ Knowing What that Means
Server Base: <----- Lol At Your Face.
Classes Modified: Compiler?
Procedure
Step 1: Getting The RIGHT JDK
First Go To This Link....[Only registered and activated users can see links. ]
And When Your There Click The JDK 6 Update 4 Download,
Then Select The Operating System, And Agree To Terms Of Service Etc.
Select The, Windows Offline Installation And Click The Orange Download Bar.
Step 2: Downloading and Installing The Right JDK
After Following Step 1, A "Sun Download Manager" Should Come Up With The File You Wanted To Download In It, Select It And Click Start,
After Thats Done (May Take A Few Minutes) Close The Sun Download Manager And look On Your Desktop For A JDK Install, (See If There Is A New Icon On Desktop...) If There IS Click It And Follow Instructions And install.
If There ISNT A Shortcut On Your Desktop, Click Start, Then Search And Search For...
Code:
jdk-6u4-windows-i586-p.exe
And Then It Should Find You The Installer.
Step 3: Making Your Computer Recognize Java.
FOR WINDOWS XP OR HIGHER
Open up "My Computer".
Click "View System information"
Click "Advanced".
Click "Environment Variables".
Under "User Variables" click "New".
Name it "CLASSPATH" and for the "Variable Value" Enter
Now Go Into Your Server File, And Where you See Your Compiler, Right Click It, And Click "Edit" Delete EVERYTHING Inside It, And Copy And Paste This In There
Code:
@echo off
COLOR 01
title Jonny's Server Compiler
echo -------------------------
echo Jonny Is Compiling Your Files.....
echo -------------------------
"C:\Program Files\Java\jdk1.6.0_04\bin\javac.exe" -cp . *.java
pause
cls
COLOR 01
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Files Compiled
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~
pause
And Then ALL Is Fixed And Working Well
Thanks All. Please Post Problems And Ill Try Reply.