Hello,
I have a summer intern writing a GUI for my code using JAVA on Linux.
He tells me that anyone who wants to use the GUI must have JAVA
installed on their machine. This concerns me because I know that most
of the potential users of the code will not have JAVA. Is it true
that even the executable will require JAVA to run? If so, is there a
way around this problem? I use lots of GUIs for other programs and I
don't have JAVA on my machine. Sorry for my ignorance.
Jim
Chris Smith - 30 Jun 2004 15:46 GMT
> I have a summer intern writing a GUI for my code using JAVA on Linux.
> He tells me that anyone who wants to use the GUI must have JAVA
[quoted text clipped - 3 lines]
> way around this problem? I use lots of GUIs for other programs and I
> don't have JAVA on my machine. Sorry for my ignorance.
That's generally true. The Java runtime environment can be freely
distributed with the application, much like you'd distribute runtime
libraries for most other languages. If you use a native compiler such
as Excelsior Jet (since you mention executable files), then you probably
may not need to distribute the JRE per se, but you'll need to distribute
the runtime libraries for Jet instead.
Essentially, there's a lot of code in the standard API, and it has to
come from somewhere.

Signature
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.
Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
Steven T Abell - 30 Jun 2004 16:59 GMT
> I have a summer intern writing a GUI for my code using JAVA on Linux.
> He tells me that anyone who wants to use the GUI must have JAVA
[quoted text clipped - 3 lines]
> way around this problem? I use lots of GUIs for other programs and I
> don't have JAVA on my machine. Sorry for my ignorance.
Yes, you will need to have Java on your machine.
It's very easy to obtain and install, and it's free.
Java is one of those things that a well-equipped computer has.
There are two kinds of "having Java".
One means having a Java Development Kit (JDK) on your machine.
This includes the basic development tools and the runtime libraries.
The other means having a Java Runtime Environment (JRE) on your machine.
This is just the runtime libraries without the development tools.
Users only need a JRE, which is smaller.
Steve

Signature
Steven T Abell
Software Designer
http://www.brising.com
In software, nothing is more concrete than a good abstraction.