Hi everyone,
How to create executable file from an existing java source file using
java tools?
Thanks in advance
Enjoy life
Raj
Printable View
Hi everyone,
How to create executable file from an existing java source file using
java tools?
Thanks in advance
Enjoy life
Raj
Raj <raja800@usa.net> wrote in message news:3a00f5a8$1@news.devx.com...
>
> Hi everyone,
> How to create executable file from an existing java source file using
> java tools?
>
You use "javac" to create a ".class" file. This is an executable file,
provided you have a JRE (Java Runtime Environment) to execute it.
"Paul Clapham" <pclapham@core-mark.com> wrote:
>
>Raj <raja800@usa.net> wrote in message news:3a00f5a8$1@news.devx.com...
>>
>> Hi everyone,
>> How to create executable file from an existing java source file using
>> java tools?
>>
>You use "javac" to create a ".class" file. This is an executable file,
>provided you have a JRE (Java Runtime Environment) to execute it.
>
>
>
I want to create binary code from the java source file using java tools.
I came to know that there are native compilers. But is there any way by which
we can create the binary code file using only java tools. Just as we create
a executable file in other languages!
> I want to create binary code from the java source file using java tools.
> I came to know that there are native compilers. But is there any way by
which
> we can create the binary code file using only java tools. Just as we
create
> a executable file in other languages!
It's never a good idea to answer a newsgroup question by saying that
something doesn't exist. So let's ask, what do you mean by "java tools"?
Aren't those native compilers "java tools"? If you're asking whether Sun's
JDK includes a compiler that creates native executables for a particular
platform, the answer is clearly NO. One of the design features of Java is
that its executables can run on any platform.
"Paul Clapham" <pclapham@core-mark.com> wrote:
>> I want to create binary code from the java source file using java tools.
>> I came to know that there are native compilers. But is there any way by
>which
>> we can create the binary code file using only java tools. Just as we
>create
>> a executable file in other languages!
>
>It's never a good idea to answer a newsgroup question by saying that
>something doesn't exist. So let's ask, what do you mean by "java tools"?
>Aren't those native compilers "java tools"? If you're asking whether Sun's
>JDK includes a compiler that creates native executables for a particular
>platform, the answer is clearly NO. One of the design features of Java
is
>that its executables can run on any platform.
>
>Got your message.
"Raj" <raja800@usa.net> wrote:
>
>Hi everyone,
> How to create executable file from an existing java source file using
>java tools?
>
>Thanks in advance
>Enjoy life
>
>Raj
There is a third party tool J2EXE(small in size) to create exe files out
of compiled class files on windows environment. It is free ware which can
be downloaded from net. I am trying to find out the URL to download. If you
still didn't get, let me know, meanwhile I will keep the URL for you.
Ravi Sankar