source /etc/profile
export CLASSPATH=.:/usr/share/java && export
PATH="$PATH:/opt/openjdk-bin/bin" && export JAVA_HOME="/opt/openjdk-bi/bin"
which javac
env LC_ALL=C ./build.sh -Ddist.dir=/opt/ant-1.9.2 dist
# which javac
/opt/openjdk-bin/bin/javac
... Bootstrapping Ant Distribution
... Compiling Ant Classes
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb76f9e15, pid=2138, tid=3064154944
#
# JRE version: (7.0_40-b31) (build )
# Java VM: OpenJDK Client VM (24.0-b50 mixed mode linux-x86 )
# Problematic frame:
# C [libc.so.6+0x127e15] __strstr_sse42+0x355
I'm just guessing here, but there may be a difference between the the
java version's expectation of glibc and your current version.
Try
cat > hello.java << EOF
public class hello
{
public static void main(String[] args)
{
System.out.println("Hello, World");
}
}
EOF
javac hello.java
java hello
Are there any issues with that?
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page