[ https://issues.apache.org/jira/browse/THRIFT-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513244#comment-14513244 ]
Tarik Yilmaz commented on THRIFT-1787: -------------------------------------- [~roger.meier] Yes, its works on Oracle JDK 7 and Ubuntu 14.04 x64 Here is my output : {code} ... checking for javac and java... yes checking for ant... /usr/bin/ant checking for ant version > 1.7... yes ... Java Library: Using javac ............... : javac Using java ................ : java Using ant ................. : /usr/bin/ant ... {code} This line missing in your output : {code} checking for javac and java {code} I think you are trying to compile from Git repo. Please download thrift from thrift.apache.org. `sh bootstrap.sh` part is unnecessary. > Thrift compiling Java Problem > ----------------------------- > > Key: THRIFT-1787 > URL: https://issues.apache.org/jira/browse/THRIFT-1787 > Project: Thrift > Issue Type: Bug > Components: Build Process > Affects Versions: 0.8, 0.9 > Environment: Linux Ubuntu 12.04 LTS > Reporter: Tarik Yilmaz > Labels: building, compile, java, library, thrift > Attachments: THRIFT-1787-Thrift-compiling-Java-Problem.patch, > terminal-output.txt > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)