Details
Description
Thrift compile problem...
----- config.log ----
....
configure:16768: checking for javac and java
Running "javac configtest_ax_javac_and_java.java"
Running "java configtest_ax_javac_and_java"
Error: Could not find or load main class configtest_ax_javac_and_java
....
– $ ./configure -----
...
checking for javac and java... no
checking for ant... no
checking for ant version > 1.7... expr: syntax error
no
....
– $ java -version —
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Server VM (build 23.5-b02, mixed mode)
– $ javac -version –
javac 1.7.0_09
– $ echo $JAVA_HOME –
/usr/lib/jvm/jdk1.7.0
– $ echo $CLASSPATH –
/usr/lib/jvm/jdk1.7.0/lib:/usr/lib/jvm/jdk1.7.0/jre/lib:.
Ubuntu 12.04 32bit Oracle Java from Source Code
Attachments
Attachments
Issue Links
- is related to
-
THRIFT-3271 Could not find or load main class configtest_ax_javac_and_java on some non-english systems
- Closed
- relates to
-
THRIFT-300 configure shouldn't abruptly stop when you don't have Java
- Closed