Re: Compile errors in TestTranslucentParentingAWT when using OpenJDK 1.6
Posted by
Sven Gothel on
Dec 01, 2011; 11:47am
URL: https://forum.jogamp.org/Compile-errors-in-TestTranslucentParentingAWT-when-using-OpenJDK-1-6-tp3551136p3551312.html
On Thursday, December 01, 2011 11:28:23 AM gouessej [via jogamp] wrote:
>
> Hi
>
> I have just tried to compile JOGL and I get the following error messages:
> test.compile:
> [javac] Compiling 178 source files to
> /users/TA/gouesse/git/jogl/build/test/build/classes
> [javac]
> /users/TA/gouesse/git/jogl/src/test/com/jogamp/opengl/test/junit/jogl/caps/TestTranslucencyAWT.java:83:
> package com.sun.awt does not exist
> [javac] capable2 =
> com.sun.awt.AWTUtilities.isTranslucencyCapable(config);
> [javac] ^
> [javac]
> /users/TA/gouesse/git/jogl/src/test/com/jogamp/opengl/test/junit/newt/parenting/TestTranslucentParentingAWT.java:92:
> package com.sun.awt does not exist
> [javac] capable2 =
> com.sun.awt.AWTUtilities.isTranslucencyCapable(config);
> [javac] ^
> [javac] 2 errors
>
> BUILD FAILED
> /users/TA/gouesse/git/jogl/make/build.xml:20: The following error occurred
> while executing this line:
> /users/TA/gouesse/git/jogl/make/build-test.xml:87: Compile failed; see the
> compiler error output for details.
>
> I assume com.sun.awt.AWTUtilities does not exist in OpenJDK.
Yup .. thx for letting us know, will remove (uncomment it) then.
~Sven
>
> -----
> Julien Gouesse