You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Ronnie

Beginner

  • "Ronnie" is male
  • "Ronnie" started this thread

Posts: 10

Date of registration: Oct 11th 2012

Location: Florida

  • Send private message

1

Tuesday, October 16th 2012, 9:45pm

Compiled File Size

Hi -

I just created and compiled my first Jabaco file. The file consists of a simple form with two ComboBoxes, two Buttons, two text boxes and one modular. The modular opens a text file and adds names to one of the ComboBoxes.

The compiled version of this file was about 600,000 bytes and I was wondering if there is a way to decrease the size of the compiled file? I have a large VB file that I want to convert and compile with Jabaco, but am concerned that it will be over 10 MB in size.

Thanks... Ronnie

fomaxrge

Trainee

Posts: 88

Date of registration: Aug 14th 2012

  • Send private message

2

Wednesday, October 17th 2012, 10:45am

My exe that consists of many forms,images and many elements is only 1,46 MB.
Did you do something wrong?

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

3

Wednesday, October 17th 2012, 11:13am

Ok,. short answer (have not much time at the moment):

Compiled program size = runtime size + size of your compiled files

Everytime the files of the runtime (called "Jabaco.jar" in your Jabaco-directory) is integrated in your compiled file.
If you using the runtime which comes with Jabaco 1.5.2, then you see that the runtime have a size of 519.284 bytes.
If you using the latest update of this runtime (which is a lot of smaller and have more features, lesser bugs, etc), then your compiled programs will be smaller too.

The last version of the Runtime is revision 89.
You can find the last version - like all other versions I have compiled at
[ https://code.google.com/p/jbaindi/downloads/list ]
Or the direct link:
[ Jabaco-rev89.jar ]
Rename Jabaco-rev89.jar to Jabaco.jar and replace the existing Jabaco.jar in your Jabaco-directory with it.

Greatings
theuserbl

Ronnie

Beginner

  • "Ronnie" is male
  • "Ronnie" started this thread

Posts: 10

Date of registration: Oct 11th 2012

Location: Florida

  • Send private message

4

Wednesday, October 17th 2012, 1:51pm

Hi theuserbl - Thanks for getting back to me. The new runtime reduced my file by about 110,000 bytes. Thanks again... Ronnie

Rate this thread
WoltLab Burning Board