Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java 5.0 for Mac OS X 10.4.x  (Read 886 times)
0 Members and 1 Guest are viewing this topic.
Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Posted 2005-09-13 18:46:46 »

I can't seem to find a download that actually works!! I get a corrupted DMG somehow. Anyone got any pointers?

Cas Smiley

Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #1 - Posted 2005-09-13 18:56:58 »

What URL are you using?

The J2SE 5.0 box on the right of this page has a link to:
http://www.apple.com/support/downloads/java2se50release1.html

The download link there resolved to:
http://apple.speedera.net/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-1300.20050429.JV5RL/Java15Release1.dmg

Could be the mirror that it is feeding you is hosed.

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2005-09-13 21:43:34 »

Got one eventually. Not sure how to make it the default VM now (I've twiddled the preferences for Webstart but making it the default system VM isn't obvious).

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #3 - Posted 2005-09-13 21:49:00 »

You mean you want it to be the default with someone types "java" at the command line?

That is not officially supported (because Apple thinks you are goign to use WebStart or Applications bundles, and they specify 1.5+ if they need Java 5 features)

You can change the symlink at /usr/bin/java. 

But what I did was make an alias "java5":
scotts-laptop:~ scottpalmer$ alias
alias java5='/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Commands/java'
scotts-laptop:~ scottpalmer$

Do NOT change the the symlinks in /System/Library/Frameworks/JavaVM.framework/Versions. (i.e. the "Current" symlink)
That will hose things, even though it might appear to work.

Offline princec

« JGO Spiffy Duke »


Medals: 434
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2005-09-13 22:11:48 »

Cheers, I'll have a go with that and see if Eclipse gets any perkier.

Cas Smiley

Offline swpalmer

JGO Coder


Exp: 12 years


Where's the Kaboom?


« Reply #5 - Posted 2005-09-14 00:42:17 »

Oh, if you want eclipse to use Java 5 you might have a harder time.

The launcher for Eclipse is special on the Mac.  It has to do with the fact that Eclipse uses SWT and AWT and SWT don't get along because each one wants to own the Cocoa event loop, which must run on the application's main thread.  Apple actually added a -XstartOnFirstThread parameter to allow applications that do stuff like SWT to work with the standard Apple java command.

It might be that the launcher is not easily configured to use Java 5... hmm... let me take a look at the Eclipse application bundle...  I see the Info.plist file has what appear to be command line options listed in an array under the key "Eclipse"... maybe there is an option to specify the JRE, just as there is for Windows.. (e.g. -vm)...  I think I know the guy to ask.. I'll fish his email out of the Apple java-dev mailing list...

One thing to note though.. there is no server VM for the Mac... File a bug report with Apple so they know you want one.  The -server option is accepted by Apple's java launcher, but all it does is reconfigure some memory parameters and compile thresholds etc, to be more "server-like", the actually JVM is still the client JVM.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (35 views)
2014-12-15 09:26:44

Mr.CodeIt (26 views)
2014-12-14 19:50:38

BurntPizza (53 views)
2014-12-09 22:41:13

BurntPizza (86 views)
2014-12-08 04:46:31

JscottyBieshaar (48 views)
2014-12-05 12:39:02

SHC (62 views)
2014-12-03 16:27:13

CopyableCougar4 (65 views)
2014-11-29 21:32:03

toopeicgaming1999 (126 views)
2014-11-26 15:22:04

toopeicgaming1999 (117 views)
2014-11-26 15:20:36

toopeicgaming1999 (34 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!