I've got some friends having problems launching my games on their Macs, and since I'm too poor to go buy one, I was hoping someone out there with a Mac would be willing to try it out. I've been told it just hangs, so I haven't been able to collect any errors (which is what I'm looking for).
http://www.tommytwisters.com/spaceops/spaceops.jnlp
Please let me know. :)
Anyone have a chance to try this yet? Please let me know.
Doesn't start at all on my rather ancient Mac. WebStart downloaded all files and asked to accept the security certificate, but then nothing happened.
What are your sys. requirements? Where do I look for WebStart logs?
I have:
G3 iMac 400MHz, 512 MB RAM
OS X 10.4.4, default Java 1.4.2_09
ATi Rage 128 Pro, 8 MB VRAM
Mostly I'm just looking to see if it starts or not. :(
I did just find a bug that was introduced today on all platforms though. I just fixed it and re-uploaded it. So if you would, please try again and see if it works now.
I tried again, updated jars were downloaded. Unfortunately, the rest is the same as before, nothing happens after clicking "Yes" for the security dialog.
I'll try to find where Apple's WebStart keeps files and logs. I haven't played with it on the Mac OS X yet.
Update:
I read a little about Java on the Mac. Web Start caches files under:
~/Library/Caches/Java Web Start
However, while I could find files from other Java apps I web-started, there was no trace of SpaceOps anywhere. I also tried to look elsewhere with no luck, Spotlight is not giving me any hits other than the .jnlp file.
It seemed like the app was actually being downloaded when I first ran it (and then updated it), but something's not working right here...
Is this on OSX? If not, please try it on OSX and let me know.
Thanks.
it didn't work on Mac mini, Mac OS X 10.4.4 with J2SE 1.5.0_05 neither.
My old Mac is running the latest OS X, see the HW/SW specs in my first post above.
FWIW, some (less known?) facts about Java on Mac:
[list=1]
- There is no J2SE for pre-OSX Macs. The latest MRJ released for OS9 was based on JRE 1.1.8. WebStart only came much later - so if you WebStart on a Mac, then you WebStart on OS X! :wink:
- Java 5 on Tiger will only "fire" if specifically requested by the application. Otherwise, 1.4.2 will run for version="1.4+". Upcoming Java 5 Release 4 will change that and 1.5.0 will become default.
[/list:o]
Any luck getting an error log then? This is getting frustrating that I can't even figure out what's wrong. :(
Edit: I've gone ahead and set my compiler to just Java 1.5 (no 1.4 compatibility) and specified that in the JNLP file as well - I just wanted to try it and see if perhaps it's my IDE/Compiler setup.
Exception in thread "javawsApplicationMain" java.lang.UnsatisfiedLinkError: no macjavaws in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.sun.javaws.MacOSLocalInstallHandler.<clinit>(MacOSLocalInstallHandler.java:34)
at com.sun.javaws.LocalInstallHandlerFactory.newInstance(LocalInstallHandlerFactory.java:30)
at com.sun.javaws.LocalInstallHandler.getInstance(LocalInstallHandler.java:56)
at com.sun.javaws.Launcher.notifyLocalInstallHandler(Launcher.java:995)
at com.sun.javaws.Launcher.continueLaunch(Launcher.java:891)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:469)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:217)
at com.sun.javaws.Launcher.run(Launcher.java:164)
at java.lang.Thread.run(Thread.java:613)
Tested with MacOsX 10.4.4
Thank you!!! Ok, from a google search, it looks like that can be caused by specifying the max-heap-size in the jnlp (which I was). So I've now removed it. Could you please try again?
Yep it worked now. :)
Got a crash when i tried join the default ip there.
Hosted and got to the screen where I choosed saucer, but i never got from that screen. Do you have to be more than one player to play?
Yeah, that default IP is my own address (I've left it as the default for now since I always ask people to connect to my server). If you host, you can have other people connect to you. So far it's multiplayer only, but I'm working on some possible bots to fill player positions.
After you choose the ship you want, you press ESC to close the options menu. I'll be adding a lot more GUI enhancements in the days to come.
Thanks so much for everyone's help! Enjoy the game while it's in beta. :wink:
Looks very good, great work.
Nice touch with that blackhole :D
Thanks! I just uploaded some improvements today too (including some new ship models). I'm hoping to tackle the menus and GUIs soon too.
Now it starts on my Mac too. Can't get it to do much though, everyhting's very slow, my HW is very old.
JoC, how/where did you find the log? Just curious...
elias4x4, where do you think the real problem was?
I've seen .jnlp files on the Mac with heap sizes specified that worked :?
Also the move to Java 1.5 shouldn't be necessary :?: This will limit your Mac audience since only Tiger (10.4) may have Java 5 (if the user downloaded it) while different flavors of Java 1.4 would cover OS 10.3 and 10.2 as well...
Quote from: "miu"
JoC, how/where did you find the log? Just curious...
I am not at work until monday and it is there i have mac's but if i remember correctly u can turn on the log under application/utilites/java/java plugin setting...something like that.
I'm not sure where the real problem was actually. I'm wondering if it has something to do with Java 5's 1.4 compiling mode. As soon as I told it to compile only to version 5, and I set the JNLP to reflect that, everything seemed to start working for people (so long as they had Java 5 installed). The odd thing is, some of my older games still work on Macs without a problem, however I may have compiled those with the actual java 1.4 rather than with Java 5.
So you were compiling on Java 5 with 1.4 compatibility?
I tried this with JDK 1.4 for 1.3 compatible bytecode but for some reason it never really worked. I had to compile with JDK 1.3 to get that.
While Java 5 may be tempting, I guess the real world adoption is quite slow. Heck, we have customers who aren't on 1.4 yet! And Java 6 is supposed to ship this year! :lol:
Yeah, before release I'll force myself to reinstall java 1.4 and compile with that. Of course, release is probably still a ways off, so maybe by then everyone will have java 5 installed. :lol: