RemoteBukkit

RemoteBukkit

62.7k Downloads

Error running RemoteBukkitConsole.jar

daboross opened this issue ยท 14 comments

commented

When I run RemoteBukkitConsole.jar Windows says "failed to load main class".
How am I supposed to fix this. Or am I using it wrong.
MY server on my other computer is running the plugin.

commented

Hi daboross!

Yeah, so, the console jarfile is designed to be run from the CMD in windows. That said, a "double-click able" file will come very soon in the future! (probably next week).

Basically, you need to do the following on windows 7/vista:

*tap start
*type cmd
*press enter
*type "cd " (that is, the letters c and d followed by a space
*open an explorer window and navigate to the folder the console is in
*copy the path from the top of the explorer window
*right click on the cmd window again and click paste
*press enter in the cmd window
*type and press enter:

java -jar RemoteBukkitConsole.jar [hostname:ip] [user] [pass]

*and you're done!
*now that i've had to go through all of that, i realize that that is pretty difficult... expect RemoteBukkitGUI.jar super soon!

Thanks,
Keeley

commented

I tried this and got this:
http://i49.tinypic.com/9s9heo.png
link to screen capture.
What did I do wrong?

commented

I tried that and this is what i got:
http://i49.tinypic.com/9s9heo.png
On Fri, May 25, 2012 at 10:21 PM, escortkeel <
[email protected]

wrote:

Hi daboross!

Yeah, so, the console jarfile is designed to be run from the CMD in
windows. That said, a "double-click able" gui will come very soon in the
future! (probably next week).

Basically, you need to do the following on windows 7/vista:

*tap start
*type cmd
*press enter
*type "cd " (that is, the letters c and d followed by a space
*open an explorer window and navigate to the folder the console is in
*copy the path from the top of the explorer window
*right click on the cmd window again and click paste
*press enter in the cmd window
*type:

java -jar RemoteBukkitConsole.jar [hostname:ip] [user] [pass]

*and you're done!
*now that i've had to go through all of that, i realize that that is
pretty difficult... expect RemoteBukkitGUI.jar super soon!

Thanks,
Keeley


Reply to this email directly or view it on GitHub:
#2 (comment)

~DaboRoss

commented

Hi daboross!

Thanks for bringing that to my attention! That error means that the version of Java that you have installed on your computer is older than the version I used to create the file.

Just click here to download the latest of Java version: http://java.com/en/download/inc/windows_upgrade_xpi.jsp

Happy RemoteBukkiting,
Keeley :D

commented

Still getting the same error after updating... Could this have anything to
do with me have a 64 bit operating system?

On Sat, May 26, 2012 at 2:33 PM, escortkeel <
[email protected]

wrote:

Hi daboross!

Thanks for bringing that to my attention! That error means that the
version of java that you have installed on your computer is older than the
version I used to create the file.

Just click here to download the latest version:
http://java.com/en/download/inc/windows_upgrade_xpi.jsp

Happy RemoteBukkiting,
Keeley :D


Reply to this email directly or view it on GitHub:
#2 (comment)

~DaboRoss

commented

Ummh, could you open the cmd and run:

java -version

and then screenshot the result back here?

~Keeley

PS. x64 shouldn't have an effect.

commented

OK, java says:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Dabo Ross>java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

But I have run the java 7 download you linked, and when I tried to download
java 7 again, it said that I already had it installed?

On Sat, May 26, 2012 at 11:12 PM, escortkeel <
[email protected]

wrote:

Ummh, could you open the cmd and run:

java -version

and then screenshot the result back here?

~Keeley

PS. 64x shouldn't have an effect.


Reply to this email directly or view it on GitHub:
#2 (comment)

~DaboRoss

commented

Yeah, ok.

Ummh, basically you have two conflicting versions installed on your machine. Java 1.6 and Java 1.7. What you need to do is to go to Programs and Features in the control panel and uninstall all of the versions of java on the machine. Once you've done that, you can re-install java 7 and problem solved!

I really don't understand how the versions can get into such an inconsistent state.

Sorry about all of this,
Keeley

commented

No matter, I've just updated the version of the plugin and console so that they are both compatible with Java 6 installations.

~Keeley

commented

Wouldn't it be possible to make a .bat that runs the cmd window like bukkit has?
I can replace the jar, but I can't figure out how to add the ip, username and password.
I have this in start.bat:
@echo off
java -jar remotebukkitConsole.jar 192.168.1.2 newlanders password
PAUSE

commented

Ok, I've done that, and this is what I get:
http://i46.tinypic.com/dyqelz.png
same with the .bat
EDIT:
as you can see, I tried twice, once with using hostname:192.168.1.2 and once with 192.168.1.2
The computer I'm trying to connect to is on a local network. I get the same thing when doing dabopc.local

commented

Hi dabross!

Sorry this is so much of a hassle for you. This plugin was designed to make it easier. Hopefully the GUI which will be out next week well help you out.

On the topic of the error the console is giving you, the first argument is missing the port number (by default 25564). So, instead of:

java -jar remotebukkitConsole.jar 192.168.1.2 newlanders password

in the bat file, you'll have to change it to:

java -jar remotebukkitConsole.jar 192.168.1.2:25564 newlanders password

And it should work fine!

Thanks,
Keeley

commented

Thank you! This will be much less hassle then what I was doing before anyway!
And the .bat works to, with code:
@echo off
java -jar remotebukkitConsole.jar 192.168.1.2:55555 newlanders qwetry123
PAUSE
This is so much easier now! before I was using a desktop sharing program, but this will create much less lag!

commented

No problem! Thanks for using RemoteBukkit!