Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: Matt.M on July 09, 2007, 03:22:36 AM

Title: Upgrading to J2SE 1.5.0 JRE
Post by: Matt.M on July 09, 2007, 03:22:36 AM
Hi guys.

I'm on a fresh linux installation.  Currently, my java version is:
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm pretty sure that this suffices for running the bot, since I've been able to configure the bot via a shell.  I'm not, however, able to get to the GUI and fully configure the bots.  Double clicking opens the archive manager.  Any tips on what I should do?  I'm a newbie as far as linux goes, picking up stuff here and there, so please don't bite :)

Thanks.
Title: Re: Upgrading to J2SE 1.5.0 JRE
Post by: Falcon on July 09, 2007, 03:27:42 PM
cd to the directory JavaOp2.jar is in, then type java -jar JavaOp2.jar
Title: Re: Upgrading to J2SE 1.5.0 JRE
Post by: Matt.M on July 09, 2007, 06:19:37 PM
I've done that.  The problem with this is that it doesn't open the GUI, which is what I'd like so I can navigate several bots and configure them all with account names, servers, and cd-keys, etc.
Title: Re: Upgrading to J2SE 1.5.0 JRE
Post by: Joe on July 10, 2007, 02:35:57 AM
First, you came to ask a question and used punctuation and capitalization. You're my hero.

Second, GNU Java (gij) doesn't work with JavaOp. I don't know about Debian, but Ubuntu (a derivative) provides sun-java in it's universe repositories for APT. Try asking on Debian's forums, or using a repository search feature, to see if you can find a compatible package.

Java is typically backwards compatible. For a class compiled against 1.4 but run on 1.5, the JRE will fall back and run it against 1.4's class files, causing it to perform exactly the same, ideally. Sometimes, I believe, it doesn't work out that way, but JavaOp should work right.

However, if you can replace GNU Java 1.4.2 with Sun Java 1.4.2, you should be good to go.
Title: Re: Upgrading to J2SE 1.5.0 JRE
Post by: chuck on July 10, 2007, 12:32:35 PM
Follow these (http://www.crazysquirrel.com/computing/debian/java.jspx) instructions to install the real sun java. After that, JavaOp should work fine.