Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Windows Java app on OSX?

Windows Java app on OSX?
Thread Tools
Grizzled Veteran
Join Date: Oct 2000
Location: Vancouver
Status: Offline
Reply With Quote
Sep 18, 2001, 05:56 PM
 
How can I get a Windows Java Applet to run in OSX?

Would I use MRJ App Builder??

Is there info on how to do this?
Alex Duffield
http://www.incontrolsolutions.com
Fatal error: Call to undefined function: signature() in /usr/local/www/htdocs/showthread.php on line 813
     
Dedicated MacNNer
Join Date: Jun 2000
Location: Dundas, Ontario, Canada
Status: Offline
Reply With Quote
Sep 18, 2001, 06:11 PM
 
As I understand it, Java applets cannot be platform-dependant (since the applet class encompasses nothing OS-dependant). Try using the "Applet Launcher" in /Applications/Utilities

That should work but I haven't tried applet performance on OS X, personally.

Jeff.
Spectral Class
"Shedding Light on Innovation"
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Sep 20, 2001, 03:09 AM
 
If you've got a Java application packaged as a jar file, try running it from the command line with
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>% java -jar &lt;jarfile&gt;</font>[/code]
If it works, you can use MRJAppBuilder to package it up nicely as a double-clickable Mac-style app. If it doesn't work, chalk it up to Java's "write once, hope it runs somewhere" cross platform capabilities and/or Microsoft's Java "extensions" -- it probably won't work on other Java platforms, either. In this case you're pretty much stuck unless you're a Java programmer and have access to the app's source.

If it's applets, not applications, that you're talking about, ignore the previous paragraph. Applets are a lot closer to cross-platform than apps are; to run one in OS X, just point Applet Runner to the html file containing the applet. In this case, if it doesn't work, it's most likely OS X's fault.
Rick Roe
icons.cx | weblog
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2