Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Linux Executable from .class

 
Preetham M
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Could somebody help me with converting my .class file to a linux executable. Would also help if you could tell me how i could also create a win exe(.exe) from .class
Appreciate the help.
Thanks,
Preetham.
 
Mathew Kuruvilla
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The simplest way is to download the full gcc 3.0 or higher. It contains the gcj compiler which will create a binary from either a .java or a .class file. Read the documentation for the exact flags that you will need to use for .java or .class.
There are other Java to binary compilers. 2 towers is one. Kaffe is another. Then there are a couple of others.
Matt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic