![]() |
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? |
Re: using Launch4j
Zia wrote:
.... > I have a .jar file and i have to convert it into .exe format. Why? |
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 |
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. |
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. |
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 |
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 |
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. |
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 |
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.