| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Greg Guerin wrote:
It appears that you're running on Windows, not Mac OS X, Yes, I mentioned earlier in the thread that I tried the WebStart demo with XP, not OSX. I've been a Mac user since the first days, but have always done Java development mostly on Windows. I'm trying to learn developing on the OSX platform, but I'm presently mystified by much of what happens there, so I tend to do my research on my Windows PC. Here's a case in point about being mystified on OSX. I ran the WebSTart demo for TrayIcon on OSX 10.4, where I have JRE 1.4, J2SE5, and J2SE6 installed. The demo fails to launch, and in the error details window I see the JNLP file that you pointed out has no OSX resource element. But there's also an Exception tab in that Window. So I checked that, and it's a NoClassDefFound exception for class SystemTray. So it appears WebStart is running with J2SE5 (since that's the version I see if I type java -version in a Terminal window). But then I launched the Java Preferences.app that came with J2SE6, and selected J2SE6 as the first Java version to try for WebStart and desktop apps. But this seems to have no effect, as I still get the Exception looking for class SystemTray when I launch a WebStart app.BTW, I'm using the demo found here: http://javadesktop.org/jdic/demo/TrayIcon/trayicon.jnlpThat JNLP file has no resources for Mac OS. Its entire contents: So is Java Preferences.app only supposed to work if I already have J2SE6 as my default Java version? Or does it just not work? How do I tell OSX what my default Java version should be? -Mark |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Re: Programmatic access to the notification area (aka the System Tray) (From: Greg Guerin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.