SMF For Free Support Forum
Signup For Free Forum
November 23, 2008, 03:59:02 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to SMF For Free. The best free SMF Host
 
   Home   Help Search Arcade Gallery Login Register  

Pages: [1]
  Print  
Author Topic: I need help on JDK or a complier or w\e...  (Read 527 times)
0 Members and 1 Guest are viewing this topic.
blo0d3dlc3
SMF For Free Newbie
*
Offline Offline

Posts: 1


View Profile
« on: June 21, 2008, 04:34:49 am »

This is really anoying me!!! I have downloaded the right JDK, well I hope! Here is pics of what i got for jdk... thats on my desktop.
What I do is click "compile" which is here>>
And it comes like this when I click it >>.. I am trying to get it working!! I tried getting different sources and seeing if it works with that. But it doesnt!! Please help me.......Ty  Huh
Logged
Crasy
Global Moderator
*
Offline Offline

Posts: 3516


I Approve of this Message


View Profile WWW
« Reply #1 on: June 21, 2008, 07:28:30 am »

Sorry buddy, but I think you're asking the wrong place.

This part of the forum is for SMF For Free Support only.
But I can move your topic over to the Java board. It is Java right?
Logged

mintkiller
SMF For Free Newbie
*
Offline Offline

Posts: 17


View Profile
« Reply #2 on: June 21, 2008, 09:29:40 am »

this is about runescape private servers post this problem on runelocus
Logged



A Funny animation made by me :
3lf-ครรครรเภ
SMF For Free Full Member
*
Offline Offline

Posts: 108



View Profile
« Reply #3 on: June 21, 2008, 05:20:24 pm »

Ok open your source folder. Right click the compiler, and click edit. When a notepad document comes up, delete everything on there and put this:
Code:
@ECHO OFF
title Server
"C:\Program Files\Java\jdk1.X.0_XX\bin\javac.exe" -cp . *.java
pause
Ok so now you need to edit the X's.
You change the first X to whatever the first number of JDK yours is. If you have JDK 6.X put a six in the first X. Put Five in if you have JDK 5.X
Example for JDK 6.X
Code:
@ECHO OFF
title Server
"C:\Program Files\Java\jdk1.6.0_XX\bin\javac.exe" -cp . *.java
pause
For the two X's after that, put the ".XX" that your JDK is. From the screenies it looks like you downloaded JDK 5.15 right? So your source should now look like this.
Code:
@ECHO OFF
title Server
"C:\Program Files\Java\jdk1.5.0_15\bin\javac.exe" -cp . *.java
pause
If you have a single digit number instead of a number like "15" put a 0 before it so since I have JDK 6.6 my source will look like this.
Code:
@ECHO OFF
title Server
"C:\Program Files\Java\jdk1.6.0_06\bin\javac.exe" -cp . *.java
pause
If you are still having trouble ill post screenies.
Logged

mannn
SMF For Free Member
*
Offline Offline

Posts: 28


View Profile
« Reply #4 on: June 25, 2008, 04:40:26 pm »

Ok,

Do what "3lf-ครรครรเภ" said. Thats what I did to mine.

Thanks,

Mannn
 police I'm A Great Help!
Logged


Pages: [1]
  Print  
 
Jump to:  

cheap low cost web hosting reviews

Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
ServerBeach Coupon
Page created in 0.192 seconds with 18 queries.