Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to create binary executable files from java source file on unix  RSS feed

 
anurag garg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can we create executable binary files from the java source file on unix platform. i know this is possible for windows platform. i don't know how we can do on unix.
i will be thankful to you if you can solve my problem.
regards,
Anurag
 
Guillaume Compagnon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to find a compiler for Java on your "special flavor" Unix. I only know one: GCJ
It is the Java version for the well known and supported GCC.
The problem is that it just works for AWT applications (in beta, I guess)
On windows (JDK or with JBuilder) there is a tool called javaw.exe that make possible to execute class files without the dos console. I don't find this utility on Unix distribution of JDK. Anyone knows more details about javaw.exe , it is not documented in JDK docs.
 
Matjaz Juric
Author
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might consider looking at native compilers. For more information: http://www.jshoppe.com/nativecodecompilers.shtm
Matjaz
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!