Can't run Java plugin

Posted by Zirnitra on Wed 23 Dec 2009 08:46 PM — 6 posts, 26,874 views.

#0
I'm trying to run a batch file to start a UI plugin but I just get a command prompt that flashes up and disappears. I have the JRE installed, but the "java" command isn't even recognised when typed into a cmd window. Anyone understand what's wrong here?
USA #1
Well, firstly, Java Isn't Javascript, and I don't believe Java is supported by MUSHclient as a scripting language. It sounds like you're talking about an external program rather than a MUSHclient plugin, so that complicates issues right there.

It would help if you told us more about this "plugin". It also sounds like it's crashing when it starts up; try opening cmd.exe and executing the batch file from there to see if you get any more information from the output.

EDIT: Oh, if the 'java' command isn't even recognized, you'll have to edit your system PATH environment variable to include the location of iava.exe on your system. Not something I've done in a long time, so try googling.

EDIT 2: NOW I remember you... Sorry, I'm on my iPhone and distracted. Everything I said still counts though!
Amended on Wed 23 Dec 2009 08:59 PM by Twisol
#2
Hi again. This is the plugin: http://forums.lusternia.com/index.php?showtopic=8903

I followed the developer's instructions, so it should work. I don't know anything about Java though, hence the error.
USA #3
Check my first edit, hehe. I'm distracted, so I had forgotten our previous interaction in the other thread, sorry!
#4
No problem! You were right, I added java to the variable and it works fine. Thanks again.
USA #5
Great, glad I could help!