I'm trying to compile a program called anyremote-J2ME-client.
(The purpose of anyremote is to allow you to control your computer with your mobile / cell phone using bluetooth).
anyremote-J2ME-client is dependent on ProGuard and Sun Java Wireless Toolkit (http://java.sun.com/products/sjwtoolkit/
Using Ubuntu 8.04 amd 64, I have java wireless toolkit installed from source package to the directory /usr/WTK2.5.2
, and proguard, java jre and jdk installed from deb packages, e.g.
dpkg -l | grep jdk
ii openjdk-6-jdk 6b11-2ubuntu2
ii openjdk-6-jre 6b11-2ubuntu2
ii openjdk-6-jre-headless 6b11-2ubuntu2
ii openjdk-6-jre-lib 6b11-2ubuntu2
On trying make I get:
Making all in src
make: Entering directory `/usr/local/anyremote-J2ME-client-4.8/src'
test -z tmpclasses || mkdir -p -- . tmpclasses
javac -bootclasspath yes/lib/midpapi20.jar:yes/lib/cldcapi10.jar \
-g:none -target 1.1 -source 1.3 -classpath yes/lib/jsr082.jar \
-d tmpclasses *.java
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
make: *** [compile] Error 3
make: Leaving directory `/usr/local/anyremote-J2ME-client-4.8/src'
make: *** [all-recursive] Error 1
But I don't really know what I'm doing and it didn't make any difference.
Odd thing is if I try changing the configure command from:
root@home:/usr/anyremote-J2ME-client-4.8# ./configure --with-wtk /usr/WTK2.5.2 --with-proguard /usr/bin/proguard
root@home:/usr/anyremote-J2ME-client-4.8# ./configure --with-wtk /some/random/directory --with-proguard /usr/bin/proguard
Again, I get the same error! Is anyremote-J2ME-client not finding my WTK2.5.2 installation for some reason? If it had found it, I expect that changing the --with-wtk flag from the correct directory /usr/WTK2.5.2 would have made some difference...