You are not logged in.

prog4fun

Beginner

  • "prog4fun" started this thread

Posts: 6

Date of registration: Jul 5th 2010

  • Send private message

1

Monday, July 5th 2010, 12:05pm

compilation problems

Hi,
Congratulations to Manuel for this excellent tool !
I have some questions on the projects' compilation.
When i compile an application and select "make a jar file", the executable has still the ".exe" extension. The executable is the same, even when i want to made a JAR. Is it a bug,or i do something wrong ?
If the application file is a ".exe", the JRE have to be installed on the user's machine, in order to run it ?
Thanks !

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Monday, July 5th 2010, 3:35pm

Hi,
you may want to search this forum for related posts.

The *.exe file is in fact a self-unzipping Jar file.
But the Jabaco IDE actually generates pure Jar files, if you select the proper filetype.

However, neither Jar nor exe do include the complete Java runtime environment (JRE).
A proper JRE has to be installed on every PC which wants to run the executable.

Greetings

A1880

prog4fun

Beginner

  • "prog4fun" started this thread

Posts: 6

Date of registration: Jul 5th 2010

  • Send private message

3

Monday, July 5th 2010, 4:25pm

Thanks for this explanation !
On my computer, i get a JAR file, only when i compile an applet project.
When an application is compiled, i get a ".EXE" (in file's properties, it is described as a "jabaco application"), even when i select the jar option.
I don't understand why ! ;(

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

4

Tuesday, July 6th 2010, 9:28am

Just edit the filename in the dialog form to have a .jar extension.
The IDE does not propose the proper extension when you change the filetype.

You can check if it actually is a jar file by renaming it to xxx.zip
A proper jar file can be opened as a zip archive.

Success!

A1880

prog4fun

Beginner

  • "prog4fun" started this thread

Posts: 6

Date of registration: Jul 5th 2010

  • Send private message

5

Tuesday, July 6th 2010, 11:45am

great !
I did not know that it was so simple. Thanks for your help ! :thumbup:

Rate this thread
WoltLab Burning Board