Bug 1053

Summary: Gluegen build fails on OSX / java 8
Product: [JogAmp] Gluegen Reporter: voorbeeld
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED INVALID    
Severity: blocker CC: gouessej
Priority: ---    
Version: 2   
Hardware: pc_x86_64   
OS: all   
Type: --- SCM Refs:
Workaround: ---

Description voorbeeld 2014-08-27 16:07:32 CEST
Gluegen build fails on commit e2be0d00dcd28dc7d6b5df444e2ede80edd7cad5

Platform: OSX 10.8.4
Javac 1.8.0_11
Ant: 1.8.4


BUILD FAILED
/Users/[…]/development/jogamp/build/gluegen/make/build.xml:924: Class not found: javac1.8
	at org.apache.tools.ant.util.ClasspathUtils.newInstance(ClasspathUtils.java:257)
	at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.resolveClassName(CompilerAdapterFactory.java:194)
	at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:155)
	at org.apache.tools.ant.taskdefs.Javac.findSupportedFileExtensions(Javac.java:979)
	at org.apache.tools.ant.taskdefs.Javac.scanDir(Javac.java:956)
	at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:927)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:392)
	at org.apache.tools.ant.Target.performTasks(Target.java:413)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.Main.runBuild(Main.java:811)
	at org.apache.tools.ant.Main.startAnt(Main.java:217)
	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.ClassNotFoundException: javac1.8
	at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1365)
	at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1315)
	at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:340)
	at org.apache.tools.ant.util.ClasspathUtils.newInstance(ClasspathUtils.java:249)
	... 21 more
Comment 1 Julien Gouesse 2014-08-27 17:17:18 CEST
You use a version of Ant which is NOT compatible with Java 1.8:
http://stackoverflow.com/a/22524712
Comment 2 Sven Gothel 2014-08-27 22:51:09 CEST
yup, could compile GlueGen with JDK 1.8.0_20 and apache-ant 1.9.4