Compiling jar file using gcj
Swapnil Jain
swapnil@pisces.net.in
Mon Aug 31 11:26:00 GMT 2009
i am attaching the RXTXcomm.jar that i use
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RXTXcomm.jar
Type: application/java-archive
Size: 112185 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20090831/e70770f9/attachment.bin>
-------------- next part --------------
--------------------------------
Swapnil Jain
Indore
-----------------------------------------------
On 31-Aug-09, at 4:52 PM, Andrew Haley wrote:
> Swapnil Jain wrote:
>> i am using ubuntu 9.04 32 bit desktop edition.
>>>> gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
>> gcj (Ubuntu 4.3.3-5ubuntu4) 4.3.3
>> java version "1.6.0_14"
>> Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
>>>> i created a java project using netbeans. it uses 2 libraries
>> RXTXcomm.jar & mysql-connector-java-5.1.7-bin.jar
>>>> after building the project thru netbeans i get the iRemote.jar file
>> in
>> the dist folder.
>>>> i want to compile it using gcj to create a binary file. i am using
>> the
>> following command
>>>> gcj -o iRemote.sh --main=iremote.controller.Controller
>> --classpath=RXTXcomm.jar:mysql-connector-java-5.1.7-bin.jar:
>> iRemote.jar
>> RXTXcomm.jar mysql-connector-java-5.1.7-bin.jar -v
>>>> i am getting a segmentation fault error (file attached)
>>>>>> i am also attaching strace of gcc & gcj
>>>>>> kindly let me know if any more information you need.
>> All files. I need to know how to get the exact same versions you
> are using. Of course, this includes RXTXcomm.jar.
>> Andrew.
>
More information about the Java
mailing list