我正在使用摩托罗拉FX9500 RFID阅读器,它运行带有jamvm版本1.5.0的Linux (我只能部署应用程序 - 我无法更改Java VM或任何其他因此我的选项有限) - 这就是我所看到的我查看版本:
[cliuser@FX9500D96335 ~]$ /usr/bin/jamvm -version
java version "1.5.0"
JamVM version 1.5.4
Copyright (C) 2003-2010 Robert Lougher <rob@jamvm.org.uk>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY …Run Code Online (Sandbox Code Playgroud) 我正在尝试构建GNU Classpath 0.98和JamVM 1.5.2.
在JamVM自述文件之后,我做了'配置; 使; 在jamVM上安装',它工作正常.
然后我将jamvm和Sun javac添加到路径中.
然后用GNU Classpath我这样做了:
./configure --enable-jni --disable-gtk-peer --disable-gconf-peer --disable-plugin
Run Code Online (Sandbox Code Playgroud)
我收到了这个错误:
javac失败了(参见config.log)
在config.log,我看到javac找不到VMStackWalker(这是特定于jamvm)我将jamvm类添加到CLASSPATH,然后我收到此错误:
Java VM jamvm失败(请参阅config.log)
在config.log,我看到jamvm找不到java.lang.Class.
怎么了?!
我正在开发一个只有qt的嵌入式Linux设备.出于某种原因,Java决定使用gnu.java.awt.peer.gtk.GtkToolkit.如何强制它使用gnu.java.awt.peer.qt.QtToolkit(或更改默认行为)?