?
Solved

make executable file

Posted on 1998-09-01
7
Medium Priority
?
199 Views
Last Modified: 2010-03-30
How can I compile the JDK to make a executable file?
can JDK make executable file for Java program? I try all the prgram files in JDK to make a executable file, how ever I can only run Java program/applet in java.exe and appletview.
0
Comment
Question by:tseyeh
  • 3
  • 2
  • 2
7 Comments
 
LVL 4

Expert Comment

by:seguret
ID: 1223100
It won't be the same file for all worlds.
On PC you can make an exe with, for exemple, Symantec Café.
But it won't be portable (and not much better in performances...).
If a jar isn't enough, you have things that helps, like alias on PC and the use of JBindery on macintosh.
0
 
LVL 4

Expert Comment

by:seguret
ID: 1223101
I think it's a good enough answer for 1 point !
Another coin to have better !
0
 
LVL 1

Author Comment

by:tseyeh
ID: 1223102
have a better one, I'll incease the points.
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 1

Author Comment

by:tseyeh
ID: 1223103
Adjusted points to 5
0
 
LVL 3

Accepted Solution

by:
mjenkins earned 0 total points
ID: 1223104
Raise the points to at least 50 and maybe (s)he'll answer you.
0
 
LVL 3

Expert Comment

by:mjenkins
ID: 1223105
My appologies, I did not intend to submit that as an answer, only a comment.
0
 
LVL 4

Expert Comment

by:seguret
ID: 1223106
No more joke : it's not a matter of points : I don't think there is a good solution that works for any plate-form.
I use JBindery on Macintosh, it's correct (does no optimisation but you have one file with all your classes, used files and parameters).
I tried Symantec Café on PC, it was ridiculous (bigger (dll...) and not faster). Maybe there is a better version, but I see it as a bad idea.
So you see you have to precise your need (plate-form!) to have a good answer.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month15 days, 18 hours left to enroll

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question