[kaffe] Kaffe 1.1.7 for ARM, `nanoxawt' not found
Frederic Kwiatkowski
stagedrt at gmail.com
Mon May 15 04:16:15 PDT 2006
Hi all
i've just tried to use kaffeawt.jar with the nanox-aw option during
the configure steps.
i've made the following class file:
import java.io.*;
import java.awt.*;
import java.awt.event.*;
public class Nano_Frame {
public Nano_Frame() {
// super();
// TODO Auto-generated constructor stub
}
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
//final int width_mainFrame = 320;
//final int height_mainFraime = 128;
Frame mainFrame = new Frame();
mainFrame.setTitle("EssaiMainFrameSousNanoXAwt");
mainFrame.setLayout(new BorderLayout());
//mainFrame.pack();
Dialog nanoDialog=new Dialog(mainFrame,"DialogBox");
nanoDialog.setBounds(0, 0, 100, 100);
nanoDialog.show();
try{
Thread.sleep(1000);
} catch(Exception e) { }
nanoDialog.dispose();
mainFrame.show();
//mainFrame.resize(320, 128);
}
}
But if i compil it (with javac Nano_Frame.java -target 1.4), and
launch it with ./kaffe -Xkaffe-nanox-awt Nano_Frame, i've got the
following error:
java.lang.UnsatisfiedLinkError: Native library `nanoxawt' not found
(as file `libnanoxawt.so' in class loader null) in '
at Nano_Frame.main (Nano_Frame.java:22)
Does anyone have an idea about how to find this .so file?
Cherrs
Frederic
More information about the kaffe
mailing list