Cannot compile using GCJ

Hi everybody....,

I have a window application which uses javax.swng. api's and javax.crypto api's. My application is running fine with jre 1.6, but i would like to make it a linux native application by compiling it with GCJ...when i compile the jar with GCJ it produces error like:-

javax.swing.GroupLayoutfile not found

Am not familiar with GCJ...am using fedora core 6...i developed my application using netbeans and JDK 1.6.. Is it possible to compile my application with GCJ ? whats the problem for the error, can anybody give some guidlines for compilation with GCJ.

Thanks in advance

[622 byte] By [faheda] at [2007-11-27 6:18:05]
# 1
I would forget it. GNU Java is not Java and GCJ is not Java either. Every time I've encountered it has been because of a problem and deleting it and replacing it with Sun or IBM Java has fixed the problem.Why do you think you need a binary executable?
ejpa at 2007-7-12 17:31:46 > top of Java-index,Developer Tools,Java Compiler...
# 2

thanx for your replay...

actually i need to give this application to someone else(for their commercial purpose), and they need it in binary format (may be reverse engg problem).. i managed to convert it to .exe for windows using launcher tools and for linux i couldnt find any such tool...so i thought GCJ will be a solution....

faheda at 2007-7-12 17:31:46 > top of Java-index,Developer Tools,Java Compiler...
# 3
no, educating your customer and telling him in your license that he can't reverse engineer it without severe legal consequences is the solution.gcj and its ilks is never a solution.
jwentinga at 2007-7-12 17:31:46 > top of Java-index,Developer Tools,Java Compiler...