Java stopped working when I upgraded to OS X 10.3.9.

Discussion in 'macOS' started by jamdr, Apr 15, 2005.

  1. jamdr macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #1
    I can no longer compile Java code. I just use javac in the terminal, and now I get a Segmentation fault whenever I try to compile (note: it just says "Segmentation fault" on the command line--nothing actually happens as far as I can tell). Also, no Java apps run, either. I double-click on a class file and nothing happens at all.

    Can someone test this on their machine. Just try to compile and run a simple Java app and let me know what happens. I'm guessing this is just an issue with some corrupt file in my install but I REALLY don't want to have to do a clean install of Panther and download all the updates again for all my apps on this slow connection!
     
  2. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
    #2
    Same here. Upgraded my mini to 10.3.9 and Java doesn't work at all. It worked perfectly before, I was running Eclipse right before restarting, even.

    Can you tell me any more about your Java setup?

    I have Eclipse and NetBeans installed, and Apache Tomcat. None are working after upgrading to 10.3.9

    java and javac segfault when run in Terminal.

    If you find a solution or something in common between our setups that might be the culprit PLEASE let me know. I'm working on a class project in Java and this is not the kind of thing I need keeping me from meeting deadlines, etc.

    Thanks in advance. :D
     
  3. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #3
    Yeah, this isn't good for my deadlines, either. Thanks Apple for another outstanding upgrade. As far as my setup, I have Eclipse installed on my iBook G4, but I don't use it much. Before the upgrade I was working on my Java code in SubEthaEdit with the terminal open to compile. Everything was working fine. After the update, nothing works at all. Maybe it's because the VM was running during the installation and some file got corrupted somehow. It would be sad if the update broke Java on all setups. I've tried a few things to fix this, but nothing is working. I think the only solution is going to be to reinstall the OS, or at least Java. I'm not sure if you can install Java separately, though.

    Anyone else having this problem?
     
  4. stoid macrumors 601

    stoid

    Joined:
    Feb 17, 2002
    Location:
    So long, and thanks for all the fish!
    #4
    Oh, shizzle, they better get this worked out! I'm a CS major and I NEED Java for my projects all due this week! :mad: :mad: :mad:
     
  5. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
    #5
    At least one other person in the 10.3.9 rumors thread seemed to be having the same problem. Azerus, which is a Java app, stopped running after installing the update.

    I'm trying repair permissions and will post results after I do that and restart.
     
  6. Rincewind42 macrumors 6502a

    Rincewind42

    Joined:
    Mar 3, 2003
    Location:
    Orlando, FL
    #6
    As a counter point, Java is working just fine here. I don't have Eclipse or any other Java IDE installed (just do command line compile and CW for editor). Haven't installed anything Java oriented either however.
     
  7. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
    #7
    Still not working. :mad:
     
  8. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #8
    Was the VM running when you did the install? As far as I know, it would have been running if you had run a Java program since the last restart (unless you specifically quit it). Thanks for the info.
     
  9. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #9
  10. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
    #10
    The updater starts and then says "You cannot install on this volume, it does not have software which needs updating"

    Unless there's some way to force it to install?
     
  11. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #11
    Point taken, but it's not unreasonable that Java would be running during a software install. The VM is always running in the background and only quits if you restart or force quit it. Apple doesn't warn against this, either. This is a huge hassle. It'll take me a good 4-5 hours to get everything installed and up to date on my machine again :mad: :mad:
     
  12. jim. macrumors 6502

    Joined:
    Dec 22, 2004
    Location:
    C-ville, VA
    #12
    I wasn't running a java program when upgrading, and I too cannot get Eclipse or FurtherNET to start. java and javac segfault in the terminal. Guess I found my first issue with an update :D

    I'm going to try the old fallback of installing the Combo update and repairing permissions again. Maybe it will do the trick...

    Jim
     
  13. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #13
    Yeah, this is why I was saying I don't think it's possible to reinstall Java separately of the OS. It's not going to let you install over the same version. You could try deleting all your Java files in the System folder. I don't think this would work, though, because I doubt the installer is complete--it probably only contains the updated files.
     
  14. vouder17 macrumors 6502a

    vouder17

    Joined:
    Apr 30, 2003
    Location:
    Home
    #14
    Yeah it was me... I havent ever had any problems with upgrades before. But this one has already brought problems with safari and azureus...who knows what is still to come.. :mad:
     
  15. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #15
    Try this: Move the Java142Update2.pkg file out of your /Library/Receipts folder to somewhere else (like the desktop). Then try running the Java Updater.

    Lee Tom
     
  16. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #16
    Smart man. I'll give that a try, but it'll take a while to download the Java install. Care to try this AndrewTosh?

    On a separate note, it looks like Safari v312 brings back displaying download rates. Thanks god, I don't know what Apple was thinking before.
     
  17. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
    #17
    It didn't work for me. I also tried taking out the other Java-related pkg files in the Receipts folder and it still wouldn't work.

    :mad:
     
  18. LeeTom macrumors 68000

    LeeTom

    Joined:
    May 31, 2004
    #18
    Damn. worth a shot. If you want to try one more thing, keep the pkg's out of the receipts folder and then run software update.... maaaaaybe?
     
  19. AndrewTosh macrumors newbie

    Joined:
    Jan 12, 2005
  20. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #20
    This is quite frustrating :mad:. I really wish Apple would stop releasing software updates before they are tested properly. I guess I'm going to start backing up my main partition...
     
  21. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #21
    Well, Java itself seems to be working but the JAR launcher does not.
     
  22. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #22
    I don't know, not on my machine. I'm trying to open a class file and _nothing_ happens at all. No icon shows up in the dock, even briefly, and the VM isn't in the activity monitor. It's like it tries to launch the VM but can't.
     
  23. crees! macrumors 68000

    crees!

    Joined:
    Jun 14, 2003
    Location:
    MD/VA/DC
    #23
    Umm, this has always been there. If you don't see it just Option-click the file you're downloading and it'll switch from minutes/seconds left to your download rate. ;)
     
  24. jamdr thread starter macrumors 6502a

    jamdr

    Joined:
    Jul 20, 2003
    Location:
    Bay Area
    #24
    Oh :eek:. Heh, never knew that. Well, you learn something new every day. Thanks. :cool:
     
  25. stoid macrumors 601

    stoid

    Joined:
    Feb 17, 2002
    Location:
    So long, and thanks for all the fish!
    #25
    What I don't understand is how it is even remotely possible that Apple didn't catch this problem in seeding to developers. They would be the MOST likely to have the JVM running, and therefore would have noticed that the update broke Java. This is the kind of crap that I'd expect from Microsoft, not from Apple.
     

Share This Page