For those of you that use mac:
I have found a Jar bundler application that creates the wrapper for you. 
It is under /Depeloper/Applications/Java Tools/Jar Bundler.app

Phillip Hellewell wrote:
> On Mon, Mar 19, 2007 at 01:48:37PM -0600, Eduardo Sanz-Garcia wrote:
>   
>> That I need something different than java to run a java application in a 
>> straight way.
>>
>> When I downloaded  Eclipse, that is 100% pure java, I founded and 
>> eclipse.exe executable. Clicking in the icon directly launched the 
>> program. I would like to do something like this.
>> Did the Eclipse team compiled javabyte code on windows machine to create 
>> a native .exe application? Probably not, (I hope so). Is the exe file a 
>> compressed file with all the java .class inside and by clicking the icon 
>> makes run a windows script?
>> As you see I am lost.
>>     
>
> Sounds like you are looking for a windows solution.
>
> I bet eclipse.exe does exactly what some other people here have already
> suggested.  It's an exe that finds and launches the default JRE, passing
> the startup.jar file as an argument.
>
> A jar file is a zip file containing .class files and some other meta
> information to indicate the startup class, etc.  You can create a jar
> file using the jar command or even a regular zip program.
>
> So just have an .exe or .bat file that finds and launches java with your
> jar as command-line parameter.  That's about as straight-forward as you
> can get.
>
> Phillip
>
> P.S.  Well, there is one other thing you could do if you really wanted.
> You could find a jar2exe utility that wraps the jar up into an exe.  I'm
> not sure the magic behind that but I know there's utilities out there
> that will do it.  Also, I'm not sure why it would be a big deal to have
> a single exe instead of an exe and a jar.
>
>   
--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to