helpSavannah Administration - Support: sr #108272, Unable to run GUI application...


sr #108272: Unable to run GUI application using cross-compiled jamvm for arm

Submitted by:  Aditya <aditya121>
Submitted on:  Mon 25 Mar 2013 01:33:07 PM UTC  
Category:  Project mailing lists Priority:  5 - Normal
Severity:  4 - Important Status:  Invalid
Assigned to:  None Operating System:  GNU/Linux
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 28 Apr 2013 06:28:49 PM UTC, comment #1:


You've submitted your bug to GNU Savannah, not GNU classpath. I understand you were unable to find where to submit classpath bugs.

This URL,, is what you are looking for. Please feel free to resubmit your bug to the GNU Classpath bug tracker.


Michael J. Flickinger <mjflick>
Site Administrator
Mon 25 Mar 2013 01:33:07 PM UTC, original submission:

Hello everyone,

First of all I apologize for this direct message. I went through the website and only found this address where I can post my query. I am sorru if I posted at the wrong place. Below is the description of the problem we are facing.

We have cross-compiled the gnu classpath 0.98 and jamvm 1.5_4 for our arm xscale device. When we run helloworld program, it works perfectly fine. But when we run gui applications, there is no response. Below are our commands which we gave for cross-compiling:

./configure --host=arm-xscale-linux-gnueabi --prefix=/usr/local --disable-examples --with-x --disable-qt-peer --disable-gtk-peer --disable-gconf-peer --disable-plugin --enable-alsa --disable-dssi --with-escher=/home/warrior/java-project/escher-0.3/src --enable-local-sockets --enable-collections --enable-xmlj --disable-Werror --enable-tools


make install


./configure --host arm-xscale-linux-gnueabi --prefix=/usr/local --with-classpath-install-dir=/usr/local –enable-ffi


make install

We then transfer the required files to our device.

we run our programs as

jamvm helloworld

jamvm -verbose Button

helloworld runs perfectly fine and gives the desired output in proper time. But when we run any gui sample we receive following error:

Exception in thread "main" java.lang.ExceptionInInitializerError
at java.awt.Font.getPeerFromToolkit(
Caused by: java.lang.NullPointerException
at java.util.Properties.load(

Can someone please guide us on this. This is becoming very critical.

Earlier we thought this to be jamvm issue, but on jamvm forums , it can out that we are missing something while cross-compiling gnu classpath.

It will be a great help if someone can direct us towards fixing this to see what we are missing to get the gui applications running with jamvm. We have made a small sample using java swing which creates a frame and 2 buttons over it.

Thanks in advance.

Aditya <aditya121>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mjflick (Posted a comment)
  • -email is unavailable- added by aditya121 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Sun 28 Apr 2013 06:28:49 PM UTC mjflick StatusNone => Invalid
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3