Click to See Complete Forum and Search --> : [RESOLVED] Application Distribution
abhs_94
Apr 14th, 2007, 08:37 AM
Can java applications be compiled into executable files???
vbNeo
Apr 14th, 2007, 09:32 AM
Well, Java applications ARE compiled into executables;) .Class files that are parsed by javas JIT compiler.
What you're asking is wether or not you can use a windows .exe to launch your java application and the short answer is no - not natively.
You can however, either make a batch file using windows scripting, or write a small launcher in C++/VB6/Someotherlanguagethatmakesexecutables.
Hope it helps.
CornedBee
Apr 15th, 2007, 03:51 AM
Or you can use a java-to-native compiler, which exists. Not sure if there is a good one for Windows, but they exist.
abhs_94
Apr 17th, 2007, 05:13 AM
thanks, that solves it. Actually i have made .bat files but it shows the runtime errors
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.