Author Topic: Java updater issues  (Read 1311 times)

Lidren

  • Wayfarer
  • *
  • Posts: 8
  • Wotanskald
    • View Profile
Java updater issues
« on: August 10, 2006, 05:21:23 am »
Heya,

I have been active on the forums, mostly because of the facination I feel for what Atomic Blue has been doing.
I have downloaded the executables for macintosh, and then the java-old updater.
This updater stops at the "compiling list of files to update". I know that it is said that it takes a loooong time,
but I have broadband, and 8 hours (while I sleep), seems excessive for Nothing to happen.

Is there ANY other way to get connected? I have been pining over this project for a week now.

Thanks for your help, I check back often.

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: Java updater issues
« Reply #1 on: August 10, 2006, 06:02:44 pm »
This may be a permissions problem. Check that the folder the Java updater is allows you to both read and write. Also, you need to be an administrator when running the Java updater (to set permission bits on the executables) OR you need to run it with "sudo" from the Terminal (for the Linux folks who hate running as admin ;) ). If it still gets stuck there, run the updater in debug mode, like so:
Open Applications/Utilities/Terminal(.app).
Type "cd " (note the space after "cd" ) in the window that appears.
Drag the folder containing the updater (i.e. your Planeshift folder) to the Terminal window and let go (a bunch of text should appear after "cd " ).
Hit return.
Type "java -jar Updater-old.jar -debugmode" and hit return. Then run the updater as you normally would. If it locks up, give it a few minutes, then quit it. Copy/paste the output in the Terminal window here.
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Lidren

  • Wayfarer
  • *
  • Posts: 8
  • Wotanskald
    • View Profile
Re: Java updater issues
« Reply #2 on: August 11, 2006, 02:29:34 am »
 X-/

No dice...

Thanks for the quick response. Heres what terminal says to you (as I know only a little more about java than a rock does)

[Lidrens-Computer:~/Desktop/Planeshift3D] lid% java -jar Updater-old.jar -debugmode
Debug mode on.
java.lang.NumberFormatException: For input string: ""
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
        at java.lang.Integer.parseInt(Integer.java:447)
        at java.lang.Integer.parseInt(Integer.java:476)
        at Updater$3.run(Updater.java:584)
        at java.lang.Thread.run(Thread.java:554)
java.lang.Error: Do not use OmissionDialog.add() use OmissionDialog.getContentPane().add() instead
        at javax.swing.JDialog.createRootPaneException(JDialog.java:531)
        at javax.swing.JDialog.addImpl(JDialog.java:557)
        at java.awt.Container.add(Container.java:307)
        at OmissionDialog.<init>(OmissionDialog.java:97)
        at OmissionDialog.showOmissionDialog(OmissionDialog.java:104)
        at Updater.compileModuleFileList(Updater.java:1197)
        at Updater.compileUpdateList(Updater.java:1022)
        at Updater.access$2600(Updater.java:29)
        at Updater$3.run(Updater.java:627)
        at java.lang.Thread.run(Thread.java:554)

EDIT: Through your advice, searching the boards, and my own tinkering...Ive made the java-old updater work just fine...8 minutes.
Thanks again for all your help, and Ill see you around online!

EDIT2: Blast! got it updated...but planeshift app will not run....Any ideas?

EDIT3: Read through the forums, anything with "pssetup", "Mac", or "won't open" in the title. My base account is an admin, and all the files are read/write to me...sooo...im at a loss
« Last Edit: August 11, 2006, 04:10:03 am by Lidren »

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: Java updater issues
« Reply #3 on: August 11, 2006, 08:24:15 pm »
Ack! My mistake. I put some Java 1.5.0 syntax in the updater code. That's why it won't work for you 10.3.x peoples. It's now fixed. Please feel free to redownload it. It'll work fine now. If it doesn't work, run it with the -debugmode flag again and paste the output as before. I think there was only that one error, though... I hope. Again, many apologies!
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!

Induane

  • Veteran
  • *
  • Posts: 1287
  • What should I put here?
    • View Profile
    • Vaalnor Inc.
Re: Java updater issues
« Reply #4 on: August 12, 2006, 09:15:08 pm »
naughtty chaos!  spank spank!

Baldur

  • Veteran
  • *
  • Posts: 1446
  • Disillusioning since 1989
    • View Profile
    • My Deviant
Re: Java updater issues
« Reply #5 on: August 12, 2006, 09:41:01 pm »
@Induane Oo

Cha0s

  • Veteran
  • *
  • Posts: 1860
    • View Profile
Re: Java updater issues
« Reply #6 on: August 12, 2006, 10:31:43 pm »
Well, it's just that 1.5.0 is so much nicer and neaterer... gah... Mac users: update to 10.4... or 10.5 when it comes out. :P You get cool new features AND it makes my job easier. ;)
Cha0s
Mac OS X Forum Moderator
In-Game Roleplay Forum Moderator
Please search and skim existing threads before posting!