With cordite in the air, splintered steel, shell casings and powder burns, there’s only one explanation...
Post feedback & meet new friends. General SG discussion.

Moderators: Pardner, TheDoctor

JaRCON - Rcon commands with Java

Postby Barto » Sun Dec 08, 2013 9:00 pm

I have been working during my dead time and I think this is time to share what I made.

This started like this:
- MonsterBrowser isn't good on Linux
- XQF is overpowered for what I asked (and the color support sucks too)
- I know some Java
- I want to run some rcon commands on my command prompt

And, this is how I started to write JaRCON, a small software to run some rcon commands with a small command line interface.

Features:
- Multiple servers support
- Works with any ID-tech 3 based engines
- Color support (even if they are currently buggy due to the different interpretation on a tty or with a X server running)

Requirements:
- Java 1.7

How to use:
- Follow the short README.md and you'll get the tool ready in no time!

Licence:
- GPLv3 ;-)

Source code:
- Just go on github

Download link:
- http://tinyurl.com/ndepfj7 (1.0 release)
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland



Re: JaRCON - Rcon commands with Java

Postby Biondo » Mon Dec 09, 2013 8:09 am

It seems an interesting work, Barto. Unfortunately I get the following error:

Code: Select all
$ java -jar JaRCON.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: jarcon/JaRCON : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
   at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: jarcon.JaRCON. Program will exit.


Oh, sorry forget it. I'm running version "1.6.0_20" of Java.
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm



Re: JaRCON - Rcon commands with Java

Postby Barto » Mon Dec 09, 2013 12:26 pm

Biondo wrote:Oh, sorry forget it. I'm running version "1.6.0_20" of Java.

I reuploaded on the same link a new version compatible with Java 1.6. I hope it is fixed now.
"Chuck Norris had to shorten his beard in the presence of Richard Stallman because two beards that awesome, so close would segfault the universe (again)."
User avatar
Barto
Jeuxlinux Admin
 
Posts: 360
Joined: Fri Oct 23, 2009 5:08 pm
Location: Switzerland



Re: JaRCON - Rcon commands with Java

Postby Biondo » Mon Dec 09, 2013 2:39 pm

Thank you very much, Barto!
User avatar
Biondo
SG Website Designer
 
Posts: 543
Joined: Thu Oct 15, 2009 4:35 pm




Return to Saloon

Show Sidebar
Show Sidebar

User Control Panel

cron