Help with Java Web Start for Mac [solved]

  9 posts   Feedicon  
Replies: 8 - Last Post: September 28, 2009 18:42
by: Joshua Marinacci
showing 1 - 9 of 9
 
Posted: September 18, 2009 16:51 by Bruce Schubert
Hello,
My Java Web Start is not working for some Macs. I don't know why. I'm not a Mac user. I would appreciate some volunteers to try the launch link to the 0.2.1 release at www.emxsys.com or review the .jnlp in this project's download section.

The problem I've had is the app installs fine, and "seems" to run, but the window doesn't display. I would be most grateful if you can replicate this problem and identify what is wrong.

This release is pretty simple, with dependencies limited to Swing. The next release (0.3) will have have dependencies on NASA WorldWind and JOGL, so I'd like to fix the Mac problems now, before the application dependencies becomes more complex.

Thanks for your help.
-- Bruce
 
Posted: September 24, 2009 19:23 by Bruce Schubert
I identified the problem with the Apple MacIntosh installation. The problem was the Mac was running OS 10.5 with Java 6 support, but the Java Preferences were set to use Java 5. To resolve this problem, I did the following:

  • Launch Finder
  • Drill into Applications
  • Drill into Utilities
  • Access Java Preferences
  • Ensure that ''Java 6'' is at the top of the Applications and Applets lists

I discovered the root of the problem by enabling the Java console and reviewing the error. The error was related to the javax.swing.GroupLayout class not being found. This class was added in Java 6. That was the clue that Java 6 wasn't being used -- even though it was installed.

Cheers,
-- Bruce
 
Posted: September 24, 2009 20:52 by Anonymous User
I believe that specifying in your jnlp file that 1.6 is required for it to run would do the trick:

<j2se version="1.6" />
 
Posted: September 24, 2009 21:56 by Bruce Schubert
Good catch. I will try that. Thanks for the tip.
-- Bruce
 
Posted: September 25, 2009 16:04 by Bruce Schubert
Hi Doug,

Two things:

  • I just uploaded a new version this morning which will ensure the security credentials remain consistent between releases. This should prevent problems like this in the future. (I'll post another entry about the NetBeans self-signing for other developers to make note of.)
  • Before attempting to install the most recent application, please remove the existing application from your Java Web Start cache. Then you can reinstall.


Here's how to remove previously downloaded Java Web Start applications from your Mac:

  • Launch Finder
  • Drill into Applications
  • Drill into Utilities
  • Access Java Web Start
  • Remove the Campbell Prediction System application(s)


Then relaunch the Java Web Start for CPS at emxsys.com

Let me know how it goes.
-- Bruce
 
Posted: September 25, 2009 19:17 by doug
Bruce
The Laptop Mac program is working, it seems.
I get the slider block working and the map
It is showing the hauling chart and logo too.
When I change the sliders where are the changes in outputs?
Other than that it looks great!
Thanks so much.
Now I will try to get it on the desktop.
I did not have any Java web start for CPS to delete.
I will try again.
Doug
 
Posted: September 25, 2009 21:16 by Bruce Schubert
Hi Doug,
I'm glad to hear its working. Smile

I'll be posting the User Guide on Emxsys.com tomorrow. Meanwhile, here are some brief instructions to get you going:


  • In the Earth/Terrain viewer, zoom in close to the terrain. There are buttons in the lower left for controlling the view. The mouse and keyboard can also be used to zoom, pan, tilt and rotate -- I'll detail those instructions later. Play around enough you'll figure it out. Otherwise just click on the buttons in the lower left.
  • In the control panel on the left, set the general fuel type, moisture, and wind conditions.
  • Click the Compute and Render button and a 5km square of the terrain will be shaded with the computed flame lengths.

Experiment by changing the wind speed and direction and then recompute; you should see the colors (flame lengths) change on different aspects of hilly terrain based on the slope and wind vectors.

The Haul Chart and Flammability Chart are place holders for the next release. There is no output there yet (pending for v0.4).

Cheers,
-- Bruce
 
Posted: September 28, 2009 15:08 by Anonymous User
Bruce
I find that a PowerMac computer is a 32 bit machine and 1.6 Java that is required
for running the program needs a 64 bit computer. My Laptop will have to do.
Doug Campbell
 
Posted: September 28, 2009 18:42 by Joshua Marinacci
Note that Java 6 is supported in 32bit Intel in Snow Leopard. In fact, in Snow Leopard, Java 6 is the only Java available. It just 1.6 in 32 and 64bit, no other options. Of course SL is Intel only, so that won't help you on PPC.
showing 1 - 9 of 9
Replies: 8 - Last Post: September 28, 2009 18:42
by: Joshua Marinacci
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close