Distributing a java program

Hi,
Are you allowed to sell your own software you made using java, or do you have to buy a separate license?

What does this mean?

  1. LICENSE TO USE. Subject to the terms and conditions of this Agreement, including, but not limited to the Java Technology Restrictions of the Supplemental License Terms, Sun grants you a non-exclusive, non-transferable, limited license without license fees to reproduce and use internally Software complete and unmodified for the sole purpose of running Programs. Additional licenses for developers and/or publishers are granted in the Supplemental License Terms.

Thanks.

Are you allowed to sell your own software you made using java[…]?

Yes.

What does this mean?

Basically: Sun allows you to redistribute unmodified copies of the “private” JRE (in the /jre folder).

With p200/lzma packaging the overhead is about 10mb (of which usually only about 2.5-3mb are actually used). This issue will be addressed with the kernel thingy (~modular JRE), however.

Other options are requiring a JRE (the JRE can be detected by the installer for example) or native compilation (eg with Jet or GCJ - GCJ is very slow tho).

So it is completely legal to sell a program programmed in java? There are no limitations???
Thanks.

What about swing components? Can you sell your app if text boxes and buttons are in it??
Thanks.

So it is completely legal to sell a program programmed in java?

Yes.

There are no limitations?

No, there are limitations. As I said (quoted) modifying the JRE isn’t allowed.

What about swing components? Can you sell your app if text boxes and buttons are in it??

You are of course allowed to use Swing and whatever. Would be pretty pointless otherwise.

Thanks!!! Finally an answer!!!