Running a SWT app in a different OS [message #655380] |
Sun, 20 February 2011 09:04 |
No real name Messages: 1 Registered: February 2011 |
Junior Member |
|
|
So I created a nice little app that uses swt using Eclipse in a Windows 7 environment. I created an executable jar file using fat-jar and it runs fine anywhere on this machine (I have not tested on other Windows 7 machines since I only have one).
Now I want to make this thing work on a Mac OSX machine that only has the JRE installed. I have, however, not been able to do this. Clearly the executable jar that I created for Windows 7 would not work on the Mac OSX, but I am not sure what I need to actually do to make the same code work on the Mac.
Any help would be greatly appreciated =). If needed I can elaborate a bit on the details.
[Updated on: Sun, 20 February 2011 09:37] Report message to a moderator
|
|
|
|
Re: Running a SWT app in a different OS [message #656085 is a reply to message #655380] |
Thu, 24 February 2011 04:10 |
Eclipse User |
|
|
|
Originally posted by: n.n.nnn
On Sun, 20 Feb 2011 04:04:40 -0500, flavkupe wrote:
> So I created a nice little app that uses swt using Eclipse in a Windows
> 7 environment. I created an executable jar file using fat-jar and it
> runs fine anywhere on this machine or another Windows 7 machine with
> JRE.
>
> Now I want to make this thing work on a Mac OSX machine that only has
> the JRE installed. I have, however, not been able to do this. Clearly
> the executable jar that I created for Windows 7 would not work on the
> Mac OSX, but I am not sure what I need to actually do to make the same
> code work on the Mac.
You could see if the RCP Delta Pack is available for Mac. This assumes
that the app will run and look/work 100% to your liking on each platform.
Personally I recommend to download Eclipse on your target platforms and
share the source using something like Subversion and the Subclipse plugin
and then you can tweak any platform specific imperfections.
You don't need a Subversion server, Subclipse understands a local
file repository which can be shared through SSH, I assume Mac has
SSH, Linux does.
|
|
|
Powered by
FUDForum. Page generated in 0.03347 seconds