• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

make a EXE in java

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
> 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
 
Felipe Regalgo
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic