Advertise Here

Author Topic: I need help on JDK or a complier or w\e...  (Read 5528 times)

0 Members and 1 Guest are viewing this topic.

Offline blo0d3dlc3

  • SMF For Free Newbie
  • *
  • Posts: 1
    • View Profile

  • Total Badges: 8
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 First Post
I need help on JDK or a complier or w\e...
« 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  ???

Offline Crasy

  • Global Moderator
  • *
  • Posts: 3960
  • Semi-Retired ;)
    • View Profile

  • Total Badges: 29
    Badges: (View All)
    Poll Starter Poll Voter Seventh year Anniversary Arcade Highscore Windows User
Re: I need help on JDK or a complier or w\e...
« 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?
Did my answer help you? Want to help out hosting costs?


Every donation counts.

Offline mintkiller

  • SMF For Free Newbie
  • *
  • Posts: 17
    • View Profile

  • Total Badges: 10
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: I need help on JDK or a complier or w\e...
« Reply #2 on: June 21, 2008, 09:29:40 am »
this is about runescape private servers post this problem on runelocus


A Funny animation made by me :

Offline 3lf-ครรครรเภ

  • SMF For Free Full Member
  • *
  • Posts: 106
    • View Profile

  • Total Badges: 14
    Badges: (View All)
    Topic Starter Combination Level 3 Level 2 Level 1
Re: I need help on JDK or a complier or w\e...
« 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: [Select]
@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: [Select]
@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: [Select]
@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: [Select]
@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.

Offline mannn

  • SMF For Free Member
  • *
  • Posts: 26
    • View Profile

  • Total Badges: 9
    Badges: (View All)
    Topic Starter Combination Level 2 Level 1 10 Posts
Re: I need help on JDK or a complier or w\e...
« 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!