Solved

make executable file

Posted on 1998-09-01
7
186 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
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet requestdispatcher include and forward differences 1 39
table example 4 32
web application structure 18 100
how to install java on RHEL image on EC2 4 41
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…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

860 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