A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
How to make a application file
Joined: Feb 14, 2006
Jul 04, 2006 09:04:00
can you guys tel me how to make an application file in
to run in other machine which dosent have Java Software.
"The Choices We Make, Dictates Our Life To Lead".
Joined: Mar 22, 2005
Jul 04, 2006 09:48:00
You can't. Java classes need the JVM to execute.
You can use the
compiler (or some other compiler) to create native code -which would be executable on machines without a JVM-, but that won't be cross-platform any more.
Jeroen T Wenting
Joined: Apr 21, 2006
Jul 04, 2006 11:17:00
And of course gcj doesn't comply with the standard, so a LOT of code will not work with it (think Swing, AWT, multithreading, Collections API, etc. etc. etc.).
Joined: Oct 07, 2005
Jul 05, 2006 00:49:00
It's also possible to bundle a JVM/JRE along with your application, which is perhaps good enough for your purposes. Can someone elucidate or give pointers that describe the easiest possible way of accomplishing this?
ASCII silly question, Get a silly ANSI.
Jaime M. Tovar
Joined: Mar 28, 2005
Jul 05, 2006 12:55:00
Maybe java web start
She will remember your heart when men are fairy tales in books written by rabbits.<br /> As long as there is duct tape... there is also hope.
I agree. Here's the link:
subject: How to make a application file
make a jar file from source code in Netbeans
running a java class as a windows service
to make an icon for application.
Multiple log files depending on java class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015