using Launch4j

Z

Zia

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?
 
T

Thomas Kellerer

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
 
Z

Zia

Andrew said:
Zia wrote:
...

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.
 
Z

Zia

Thomas said:
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.
 
L

Lew

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
 
L

Lew

Lew said:
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
 
A

Andrew Thompson

Zia said:
...
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.
 
C

Chris Uppal

Lew said:
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
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

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

It does.

But it happens frequently that is does not get setup or get messed
up by something else.

Arne
 
Z

Zia

Andrew said:
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.

Mr. Thompson,
I guess I have upset you, by using slang in this group. I duly
apologize. I am very much new to this arena. Also it was not my
intention, to try to sound 'cute', by using slangs. but it was the time
factor as well as my habbit of chatting, that made me type that way.
But now that you have mentioned, i will take extra care every time i
type. Hope that makes things little better?

'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.

I do not know whether, what those people suggested was right or wrong.
But i do know, that I did not ask anybody this. I only read in
pre-posted topics, to try to find answers to my questions. But when i
could not find any more, i asked. So i do not know whether those people
found 'so i thot wot if..' to be be cute enough to answer anybody's
questions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top