Author Topic: Updater.jar Split/Update  (Read 4884 times)

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Updater.jar Split/Update
« on: November 17, 2005, 05:54:43 am »
I have good news and bad news. I\'ll start with the bad news:
Subsequent versions of Updater.jar will not support Mac OS 10.3.x and below. This has come about due to Java 1.4.2 being unsupported in OS 10.3.x (I have heard rumors of a \"special\" 1.5.0 running on 10.3, but I\'m not sure how accurate these are). What this means is that for 10.3.x users, Updater.jar is frozen at this release and will probably not be changed again. I am continuing to offer the download from the Guide through a second link.

Now why is this good? I have more features available to me. In addition, there is much better zip handling (Java-side. My code remains the same ;) ). There happens to be a specific feature that I added with this update, and that is the proxy. You can now set the proxy feature in updaterconfig.xml and connect through a proxy. Hopefully this will help those who download through a proxy.
Also, I\'ve added the less-important feature that allows you to get a list of files being downloaded in the console (or Terminal with -listfiles if you\'re running in -nogui mode).

Now, before you get all worked up 10.3.x users, let me assure you that the short-term effects of this change are very few. I doubt there will be any major changes to Updater.jar for months. Hopefully, by that time we\'ll all be on 10.4.x. If there are any major bugs found in the old version, I will of course do my best to fix them, but little things and new features will probably not be added. Sorry for any inconvenience, but I\'m hoping that this will be a beneficial change overall.

P.S. Feel free to post comments here.
P.P.S. While I\'m at it, I\'ll also open the floor to requests for new features or implementation of particular options in the updaterconfig.xml file.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

dying_inside

  • Guest
(No subject)
« Reply #1 on: November 17, 2005, 07:24:44 am »
hmm.. i dunno. i would have gotten 10.4  but there is a widly known bug to do with the connections on that OS. i t doesnt recognise your coinnections and wont let you onto the internet. so im sticking with 10.3  until somthing a bit more stable is released..

r.guppy

  • Guest
(No subject)
« Reply #2 on: November 17, 2005, 09:25:13 am »
My son just got a new iBook with 10.4 and hasn\'t had any problems getting on the internet, or playing PlaneShift.

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #3 on: November 17, 2005, 11:46:07 am »
Quote
Originally posted by dying_inside
hmm.. i dunno. i would have gotten 10.4  but there is a widly known bug to do with the connections on that OS. i t doesnt recognise your coinnections and wont let you onto the internet. so im sticking with 10.3  until somthing a bit more stable is released..


Have you checked that it still exists in 10.4.3, which was released 2-3 weeks ago? There were a lot of network-related bug fixes in the latest update.

Are you sure it would have affected your system anyway? There are an enormous number of people running Tiger that have absolutely no problems connecting to the internet, so it\'s obviously only a small proportion of set-ups that are/were affected. I\'ve certainly had no problems with it at all. I thought Panther was a lot more bug-laden.

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #4 on: November 17, 2005, 03:12:11 pm »
By the way, Cha0s, trying to run the latest Updater.jar is giving the following error:

Exception in thread \"main\" java.lang.UnsupportedClassVersionError: Updater (Unsupported major.minor version 49.0)
   at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
 at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

I\'m running OS X 10.4.3, including the latest Java update from yesterday.

Are you using Java 1.5.0 methods again? You only mentioned 1.4.2 in your post here. If it\'s intentional, however, then you should probably make a sticky about how to switch Java versions. Java 1.5 is not the default java version in Tiger and you\'re going to get a zillion users experiencing the same error.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #5 on: November 19, 2005, 12:32:39 am »
I was under the impression (from the Apple website) that it would request the correct JVM if the default didn\'t work. Apparently not, it seems.
Try following the instructions here and see if that works. If so, I\'ll link it. If not, I\'ll create a shell script to do it. It\'s actually not that hard. ;)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

eggplantboy

  • Hydlaa Resident
  • *
  • Posts: 151
    • View Profile
    • www.myspace.com/eggplantboy
(No subject)
« Reply #6 on: November 19, 2005, 12:46:44 am »
Howdy,

I take this means with OS 10.2.x will be sticking with the updater.jar we already have.
« Last Edit: November 19, 2005, 12:47:07 am by eggplantboy »
eggplantboy, a.k.a. Egadolus Quell
have a gander at my music:
www.myspace.com/eggplantboy

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #7 on: November 19, 2005, 01:02:05 am »
Yes. I\'m sorry for the inconvenience, but I want to make Updater.jar as powerful as possible. Hopefully you\'ll be able to get 10.4 soon. :)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

dying_inside

  • Guest
(No subject)
« Reply #8 on: November 19, 2005, 08:53:25 am »
Quote
Originally posted by wain
Quote
Originally posted by dying_inside
hmm.. i dunno. i would have gotten 10.4  but there is a widly known bug to do with the connections on that OS. i t doesnt recognise your coinnections and wont let you onto the internet. so im sticking with 10.3  until somthing a bit more stable is released..


Have you checked that it still exists in 10.4.3, which was released 2-3 weeks ago? There were a lot of network-related bug fixes in the latest update.

Are you sure it would have affected your system anyway? There are an enormous number of people running Tiger that have absolutely no problems connecting to the internet, so it\'s obviously only a small proportion of set-ups that are/were affected. I\'ve certainly had no problems with it at all. I thought Panther was a lot more bug-laden.


aah ok. thats good to know.   well I might get it if I scrape up the money heh.

wain

  • Hydlaa Resident
  • *
  • Posts: 50
    • View Profile
(No subject)
« Reply #9 on: November 19, 2005, 04:11:46 pm »
The updater works fine once the default version has been set to J2SE 5.0.

For anyone else reading this, you simply run Java Preferences.app, which is found in Applications/Utilities/Java/J2SE 5.0/ . In that program, go to Java Application Runtime Settings at the bottom of the General tab, and switch the order of the Java versions so that J2SE 5.0 is first.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #10 on: November 19, 2005, 08:25:19 pm »
Ok, good to know. I\'ll link that in my guide later today (assuming I remember :P ). Thanks for checking it out. :)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

r.guppy

  • Guest
(No subject)
« Reply #11 on: November 22, 2005, 12:29:05 am »
Just updated my Mac to 10.4.3 from 10.3.9. followed guide and all working fine thanks ChaOs.       :))

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #12 on: November 22, 2005, 01:30:53 am »
Yay, good news! Thanks for the update. Good to know that there are no inherent problems with the guide/updater. See you in Planeshift!

P.S. I\'ve added a new command line argument for the Updater... at last... \"-help\" (or \"-h\" if you prefer). It will give you a summary of all available commands. I also added \"-compare\" (explained in the help text).

EDIT: I have triumphed! After some help from EE converting my messy raw hash into the hash Planeshift uses, I now have added hash-checks for all files under 10k (at DaveG\'s suggestion). No more will you have stupid errors like that dang port problem in this last update. Rejoice!
« Last Edit: November 22, 2005, 05:49:26 am by Cha0s »
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

r.guppy

  • Guest
(No subject)
« Reply #13 on: November 22, 2005, 05:48:35 pm »
Updated wife\'s Mac with Video Card (type, VRAM): GeForce4 MX, 64 MB, from 10.3.9. to 10.4.3. At last she can join game  :)) . Not all good news though still phew graphic problems and crashing a lot, working on it, thanks again ChaOS. :))

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
(No subject)
« Reply #14 on: November 22, 2005, 06:00:30 pm »
Glad things are going well. I\'ll email dfryer about the graphics problem and hope for a solution soon!
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!