Difficulty: Easy
Description: Making your Compiler working with a simple fix
Files To Be Edited: Your Compiler
Instructions:
ok now i know most of you people who have never done nything with a private server before have a problem with your compiler. you sometimes get the error of "you don't have Java Jdk 5.0 or 6.0" so this is a simple solution. go under my computer then click Local Disk (C:) then click program files then click java. now if u have downloaded java jdk 5.0 or 6.0 and installed it correctly you should see something like one of these:
1. jdk1.6.0_04
2. jdk1.6.0_02
3. jdk1.6.0_01
4. jdk1.6.0_03
now this is were most people say yes i have one of those folders (and btw those names are names of a folder but it still wont work here is why in ur compiler search for (dont take the easy way out just look manually)
or nything close to that the first 2 lines at least. this is where the problem is depending on the verzsion u downloaded depends on what u change. if ur folder from earlier said jdk1.6.0_01 you want to change those first two lines to sayCode:set pro=%programfiles%\Java\jdk1.6.0_04 set pro2=%programfiles%\Java\jdk1.6.0_04 set jac=\bin\javac.exe set jav=\bin\java.exe
if u had jdk1.6.0_02 u change it toCode:set pro=%programfiles%\Java\jdk1.6.0_01 set pro2=%programfiles%\Java\jdk1.6.0_01
if u had jdk1.6.0_03 u change it toCode:set pro=%programfiles%\Java\jdk1.6.0_02 set pro2=%programfiles%\Java\jdk1.6.0_02
if u had jdk1.6.0_04 u change it toCode:set pro=%programfiles%\Java\jdk1.6.0_03 set pro2=%programfiles%\Java\jdk1.6.0_03
wat this is doing is doing is saying where to look for java jdk 6.0Code:set pro=%programfiles%\Java\jdk1.6.0_04 set pro2=%programfiles%\Java\jdk1.6.0_04
before what the compiler was doing was looking for an update of java
jdk u do not have but u installed it correctly and ur like wtf is up.
wat was up was the compiler it was looking for somethign u didnt have
so the simple fix is changing one number. now u should have no problem
and if u get a message that says
note: java uses override or w/e and recompile with xlint etc this IS NORMAL nothing is wrong.
(my first tutorial)
plz rate



Reply With Quote![[Tut] Compiler Fix [TUT]](http://ragezone.com/hyper728.png)

