Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Access restriction: The type 'VirtualMachine' is not API (restriction on classpath entry

Hi all,

I'm trying to compile with Java 11, Tycho 2.3.0, target: 8, and release: 8.

I get the following error:

Access restriction: The type 'VirtualMachine' is not API (restriction on classpath entry 'C:\Users\r.degenfellner\.m2\repository\p2\osgi\bundle\io.earcam.wrapped.com.sun.tools.attach\1.8.0.jdk8u172-b11\io.earcam.wrapped.com.sun.tools.attach-1.8.0.jdk8u172-b11.jar')

I tried:

<compilerArgs> 
<arg>-warn:none</arg>  
<arg>-err:none</arg>
</compilerArgs>

Is there anyway I can get this to compile?

thx

Reinhold


Back to the top