Author Topic: Upgrading to J2SE 1.5.0 JRE  (Read 2538 times)

0 Members and 1 Guest are viewing this topic.

Offline Matt.M

  • Newbie
  • *
  • Posts: 2
    • View Profile
Upgrading to J2SE 1.5.0 JRE
« on: July 09, 2007, 03:22:36 am »
Hi guys.

I'm on a fresh linux installation.  Currently, my java version is:
Code: [Select]
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.

Offline Falcon

  • Full Member
  • ***
  • Posts: 241
  • I haven't visited my profile!
    • View Profile
Re: Upgrading to J2SE 1.5.0 JRE
« Reply #1 on: July 09, 2007, 03:27:42 pm »
cd to the directory JavaOp2.jar is in, then type java -jar JavaOp2.jar

Offline Matt.M

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Upgrading to J2SE 1.5.0 JRE
« Reply #2 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.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Upgrading to J2SE 1.5.0 JRE
« Reply #3 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.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: Upgrading to J2SE 1.5.0 JRE
« Reply #4 on: July 10, 2007, 12:32:35 pm »
Follow these instructions to install the real sun java. After that, JavaOp should work fine.
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.