Author Topic: Need a Java nerd  (Read 792 times)

Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Need a Java nerd
« on: July 07, 2010, 09:41:03 pm »
OK so whenever I try and run like BAT files like for downloadable clients a console pops up and it's like "YOU DO NOT HAVE JAVA INSTALLED!" although I do have Java installed, and Runescape as well as many other Java-Related things work for me. Tell me what to do? I've had this problem on two different computers.




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Offline Drunk Mario

  • Bronze Poster
  • *
  • Posts: 0
  • Respect: 70
  • -!-DeathZone For Life-!-
    • View Profile
Re: Need a Java nerd
« Reply #1 on: July 07, 2010, 10:01:00 pm »
Do you have the latest Java? Also what about your flash player? Some clients need a flash player..


I wish it was possible to punch some through a computer screen.

~~Personal Achievements~~

- Said to be one of the best Forum Mods
- #1 poster
- #1 topic starter
- Max combat achieved In-game
- Good banner maker
- #4 Overall

Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Re: Need a Java nerd
« Reply #2 on: July 07, 2010, 10:01:55 pm »
Lol I just like downloaded Java.. and wth is a Flash Player? I'm dumb -_-




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Offline Banjo Hick

  • Bronze Poster
  • *
  • Posts: 0
  • Respect: 9
    • View Profile
Re: Need a Java nerd
« Reply #3 on: July 07, 2010, 11:37:41 pm »
Install Java 4.5.... On my new-old laptop I had to download it to play...

Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Re: Need a Java nerd
« Reply #4 on: July 08, 2010, 12:38:09 am »
Ok here's a better detailed thing... I own a MacBook and today I just installed Windows XP. I'm trying to compile a server I made but when I do the compile files for anything they always say "You do not have Java installed" even though I just downloaded the latest Java. Should I try installing Windows 7?




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Offline Voltimolt

  • Blitz Beta-Tester
  • Dragon Poster
  • *
  • Posts: 765
  • Respect: 87
  • DISSoverflow
    • MSN Messenger - andy.antoon@hotmail.com
    • View Profile
    • DISSoverflow
Re: Need a Java nerd
« Reply #5 on: July 08, 2010, 01:57:58 am »
Post your .Bat coding. (Rightclick bat>edit>select all>copy>paste here)

u might need to add varieable environment (something like that)



FML.
I only go on worldscape if Rory or Dug is on sooo :/

Offline brianc

  • Donator
  • Adamant Poster
  • ****
  • Posts: 304
  • Respect: 24
  • ☣Death Zone☣ {The Red Dragons Owner}
    • MSN Messenger - the_shade60@live.com
    • View Profile
    • Email
Re: Need a Java nerd
« Reply #6 on: July 08, 2010, 02:26:58 am »
Hello,

Here is an easy fix for you.

Run Server.
Code: [Select]
@echo off
title <Name of client>
cd <Path of Jar Files>
java -Xmx256m client 1 live live software members english game1
color 0a
echo Welcome to <Insert Name>
echo Have fun!
pause

Compile Server.
Code: [Select]
@echo off
COLOR F4
title Compiler
"C:\Program Files\Java\<Java Version>\bin\javac.exe" -cp . -d ./bin ./Server/*.java
pause
cls
Compiler.bat
pause

Make sure all .Jar files are in the same folder for this to work.

Then if you wish to compile this into a .exe please reffer to this link. ----> http://download.cnet.com/Bat-To-Exe-Converter/3000-2069_4-10555897.html

Hope this solved your problem.

Have a good day.

Regards,
Brian Crowell





Offline Mute

  • Ex-staff
  • Partyhat Poster
  • *
  • Posts: 2,288
  • Respect: 167
  • ...IRRELEVANT...
    • View Profile
    • AX Servers - MC Servers ran by your fave user!
    • Email
Re: Need a Java nerd
« Reply #7 on: July 08, 2010, 01:10:51 pm »
Ok here's a better detailed thing... I own a MacBook and today I just installed Windows XP. I'm trying to compile a server I made but when I do the compile files for anything they always say "You do not have Java installed" even though I just downloaded the latest Java. Should I try installing Windows 7?

No, you won't need Windows 7 for this. (And BootCamp can't support Windows 7 yet, only XP and Vista).

Your trying to compile a server client?, your gonna need the JDK to do that.
http://java.sun.com/javase/downloads/widget/jdk6.jsp
"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - 'V', V For Vendetta
"You either die a hero or you live long enough to see yourself become the villain." - Harvey Dent, Batman - The Dark Knight



Team Sparta - "Climbing in your homes since 2011"

Nasu Hosting
Cheap hosting for tons of things. Seriously Awesome.


Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Re: Need a Java nerd
« Reply #8 on: July 08, 2010, 03:44:48 pm »
You guys don't get it. And Mute I used Parallels not BootCamp. Every type of .bat file that is supposed to run any kind of Java thing says I don't have Java. Not just the ones in my source. Like say I go to download some random server's client. When I try to do run.bat or whatever they named their thing that pulls up the console and lets you play, it says "You don't have Java installed."




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Offline Mute

  • Ex-staff
  • Partyhat Poster
  • *
  • Posts: 2,288
  • Respect: 167
  • ...IRRELEVANT...
    • View Profile
    • AX Servers - MC Servers ran by your fave user!
    • Email
Re: Need a Java nerd
« Reply #9 on: July 08, 2010, 04:08:15 pm »
You guys don't get it. And Mute I used Parallels not BootCamp. Every type of .bat file that is supposed to run any kind of Java thing says I don't have Java. Not just the ones in my source. Like say I go to download some random server's client. When I try to do run.bat or whatever they named their thing that pulls up the console and lets you play, it says "You don't have Java installed."
Parallels shouldn't interfere with it like that... (Seeing as I have that too, ironically. :P )
The only problem that I have with parallels is that It keeps trying to log me onto the SysAdmin account, when Its not meant to.

Personally, try downloading + Installing the JDK that I linked to, and we'll move from there.

EDIT: Go to the run menu (Or Windows key + R) and type into the box CMD.
From there, a little Command prompt will pop up, just type in JAVA and press the Enter key.
If a load of Java settings pop up, then something is blocking it from running.
« Last Edit: July 08, 2010, 04:13:11 pm by Mute »
"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - 'V', V For Vendetta
"You either die a hero or you live long enough to see yourself become the villain." - Harvey Dent, Batman - The Dark Knight



Team Sparta - "Climbing in your homes since 2011"

Nasu Hosting
Cheap hosting for tons of things. Seriously Awesome.


Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Re: Need a Java nerd
« Reply #10 on: July 08, 2010, 10:57:44 pm »
Settings popped up. What now? >_>




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Offline Pk0wnedall

  • Bronze Poster
  • *
  • Posts: 0
  • Respect: 4
  • -Banned-
    • View Profile
    • Email
Re: Need a Java nerd
« Reply #11 on: July 09, 2010, 03:53:42 am »
1.) Use Pm Pl0x.
2.) If you don't know what your doing, don't do it.
3.) Find on google how to make one.

Offline Mute

  • Ex-staff
  • Partyhat Poster
  • *
  • Posts: 2,288
  • Respect: 167
  • ...IRRELEVANT...
    • View Profile
    • AX Servers - MC Servers ran by your fave user!
    • Email
Re: Need a Java nerd
« Reply #12 on: July 09, 2010, 04:11:11 am »
Settings popped up. What now? >_>
If you've installed the JDK, then I have no clue, because I have never come accross this before.
"Beneath this mask there is more than flesh. Beneath this mask there is an idea, Mr. Creedy, and ideas are bulletproof." - 'V', V For Vendetta
"You either die a hero or you live long enough to see yourself become the villain." - Harvey Dent, Batman - The Dark Knight



Team Sparta - "Climbing in your homes since 2011"

Nasu Hosting
Cheap hosting for tons of things. Seriously Awesome.


Offline Kryptonite

  • Ex-staff
  • Posting Maniac
  • *
  • Posts: 1,965
  • Respect: 48
  • SOPAthetic.
    • View Profile
    • Derp
Re: Need a Java nerd
« Reply #13 on: July 09, 2010, 08:15:37 am »
Well OK I installed JDK and now when I try and open stuff.. OK I'll post screenshots on this post in a sec.




Quote
I don't hate you. I just hope your next period happens in a shark tank.


Vee Dub

  • Guest
Re: Need a Java nerd
« Reply #14 on: July 09, 2010, 08:22:01 am »
Do you have the non-mac java? Lol.