Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   using Launch4j (http://www.velocityreviews.com/forums/t389866-using-launch4j.html)

Zia 01-05-2007 10:55 AM

using Launch4j
 
Hi,
I have a .jar file and i have to convert it into .exe format. I
dwloaded this tool Launch4j. But im having probs with it. It doesnt
accept min version of my jre. I enter 1.5.0[_07] , it gives an
error...
Invalid data : Minimum jre version shud be x.x.x[_xx] . I think my
format is the same, then wot is its prob?


Andrew Thompson 01-05-2007 11:37 AM

Re: using Launch4j
 
Zia wrote:
....
> I have a .jar file and i have to convert it into .exe format.


Why?


Thomas Kellerer 01-05-2007 11:58 AM

Re: using Launch4j
 


On 05.01.2007 11:55 Zia wrote:
> Hi,
> I have a .jar file and i have to convert it into .exe format. I
> dwloaded this tool Launch4j. But im having probs with it. It doesnt
> accept min version of my jre. I enter 1.5.0[_07] , it gives an
> error...
> Invalid data : Minimum jre version shud be x.x.x[_xx] . I think my
> format is the same, then wot is its prob?
>


I haven't used this part of Launch4J by usually [] indicate optional
parts in a manual. So I gues what x.x.x[_xx] means is, you should either
enter the version as x.x.x *or* x.x.x_xx

Thomas

Zia 01-05-2007 09:03 PM

Re: using Launch4j
 

Andrew Thompson wrote:
> Zia wrote:
> ...
> > I have a .jar file and i have to convert it into .exe format.

>
> Why?


Well coz, double clickin .jar file doesnt open my program.and im
supposed to be takin this proect onto another comp, so i thot wot if
..jar file didnt work there too. i read in many forums, that this is a
common prob, and some suggested, it be easier to convert it into exe.
thats y.


Zia 01-05-2007 09:05 PM

Re: using Launch4j
 

Thomas Kellerer wrote:
> >

>
> I haven't used this part of Launch4J by usually [] indicate optional
> parts in a manual. So I gues what x.x.x[_xx] means is, you should either
> enter the version as x.x.x *or* x.x.x_xx
>
> Thomas


Ok, thank you, Thomas. I guess i asked a dumb question, but im new at
this. Anyways thanks for answerin patiently. Its works just fine now.


Lew 01-06-2007 04:23 AM

Re: using Launch4j
 
Zia wrote:
>>> I have a .jar file and i have to convert it into .exe format.


Andrew Thompson wrote:
>> Why?


Zia wrote:
> Well coz, double clickin .jar file doesnt open my program.and im
> supposed to be takin this proect onto another comp, so i thot wot if
> .jar file didnt work there too. i read in many forums, that this is a
> common prob, and some suggested, it be easier to convert it into exe.
> thats y.


Double-clicking a JAR file will open the program if your operating system is
set up to do that. This is not a Java issue per se, but an operating system
configuration issue.

In Windows, use the File Explorer "Tools / Folder Options..." menu choices.
Associate JAR files (file type .jar) with the command
jar -jar %1
for example.

Bear in mind that there was bad blood between Microsoft and Sun; unlike with
..exe files MS decided not to predefine the file association for you for JARs.
No worries, you (or the network admin) just do it manually.

- Lew

Lew 01-06-2007 04:35 AM

Re: using Launch4j
 
Lew wrote:
> In Windows, use the File Explorer "Tools / Folder Options..." menu
> choices. Associate JAR files (file type .jar) with the command
> jar -jar %1


Erm, I meant "java -jar %1"

- Lew

Andrew Thompson 01-06-2007 04:46 AM

Re: using Launch4j
 
Zia wrote:
> > Zia wrote:
> > ...
> > > I have a .jar file and i have to convert it into .exe format.

...
> Well coz, double clickin .jar file doesnt open my program.and im
> supposed to be takin this proect onto another comp, so i thot wot if
> .jar file didnt work there too. i read in many forums, that this is a
> common prob,


It is - and it is what *web-start* was designed to
solve (far better than an 'exe').

BTW '..so i thot wot if..' are your parents, brother and sister?
You will get more respect here if you try to post
correct english. What you printed was not cute, it
was simply moronic.

>..and some suggested,...


'some' people know what they are talking about,
most don't. Further, those answers were probably
from people who thought that words like 'thot wot'
were cute.

Andrew T.


=?ISO-8859-1?Q?Arne_Vajh=F8j?= 01-06-2007 02:54 PM

Re: using Launch4j
 
Lew wrote:
> Lew wrote:
>> In Windows, use the File Explorer "Tools / Folder Options..." menu
>> choices. Associate JAR files (file type .jar) with the command
>> jar -jar %1

>
> Erm, I meant "java -jar %1"


Maybe even javaw ...

Arne

Chris Uppal 01-06-2007 03:44 PM

Re: using Launch4j
 
Lew wrote:

> Double-clicking a JAR file will open the program if your operating system
> is set up to do that. This is not a Java issue per se, but an operating
> system configuration issue.
>
> In Windows, use the File Explorer "Tools / Folder Options..." menu
> choices. Associate JAR files (file type .jar) with the command
> jar -jar %1
> for example.


I was under the impression that the Sun JRE Windows installer always sets that
association up for you. Am I wrong ?

-- chris





All times are GMT. The time now is 05:01 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57