This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Java in General and the fly likes make a EXE in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "make a EXE in java" Watch "make a EXE in java" New topic
Author

make a EXE in java

Felipe Regalgo
Greenhorn

Joined: Mar 08, 2006
Posts: 6
hi,
oi pessoal,

I wanna know is exist some software that change a java code in .exe... it's important the thats generates a 100% exe...

I'm thank's if someone can help me....

Thank you


SCJP 1.4<br />SCJD (in progress URLyBird)
Peter Petrov
Greenhorn

Joined: Feb 03, 2006
Posts: 18
http://www.excelsior-usa.com/landing/jet-exe.html

This one might be interesting to you.

Also you can open www.google.com and write there
".class files to exe convert" (without the quotation marks)
or something similar.

You will find lots of information with that google search.

Regards.
[ March 10, 2006: Message edited by: Peter Petrov ]
Felipe Regalgo
Greenhorn

Joined: Mar 08, 2006
Posts: 6
ok... but I have already try search it in google....

and excelsior it's very good but it not generate a 100% exe because the excelsior's exe need the JRE to run, and it's exe work is only calls
"java code.MainClass" in background and than the exe finishs....

but thanks for your sugestion,

Obs: What I really need to know, is how to protect my source code and my solution is creating a exe... Someone knows another manner to protect the source code???

Thanks
Dmitry Leskov
Greenhorn

Joined: Mar 11, 2006
Posts: 7
> and excelsior it's very good but it not generate a 100% exe because the excelsior's exe need the JRE to run, and it's exe work is only calls
"java code.MainClass" in background and than the exe finishs....

The opposite is true - Excelsior JET creates native EXEs that run without the JRE.

More precisely, it always generated native EXEs, but prior to version 4.0 some compiled apps, most notably Swing clients, needed the JRE due to licensing issues.

Excelsior JET 4 contains fully licensed, natively compiled Java API, so the generated executables do not need the JRE.

Check out my article:

Convert Java to EXE: Why, When, When Not, and How

Hope this helps,

Dmitry


Protect Your Java Code - Through Obfuscators And Beyond (free article)
Felipe Regalgo
Greenhorn

Joined: Mar 08, 2006
Posts: 6
Hi Dmitry Leskov,

I've been reading the article you send me I like a lot of... It clear me a lot of questions... so I think the excelsior is a very good tool to protect a code.

look this part of article:

"In contrast, native code produced by an optimizing AOT Java compiler is about as hard to reverse engineer as if you have coded the original program in C++. "

the complet paragraf is that:

"Intellectual Property Protection. Java bytecode is very easy to decompile - just google for "download java decompiler" and you will get your source code back in 5 minutes. Yes, you may obfuscate names of public classes and methods not accessed via reflection, but control flow obfuscation can render your bytecode unverifiable on future JVMs and hinders optimizations implemented in JIT compilers. Finally, encrypting your Java bytecode does not protect it at all regardless of the encryption algorithm you use.

In contrast, native code produced by an optimizing AOT Java compiler is about as hard to reverse engineer as if you have coded the original program in C++. Needless to say, there is no performance loss. If you are concerned about protecting your intellectual property, have a closer look at native compilation."

thanks for help me...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: make a EXE in java