Skip to main content

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

Can you provide a reproducer that shows the problem?

Maybe 'VirtualMachine' is in a package that is not exported by the bundle.

Am 05.05.21 um 14:41 schrieb Reinhold Degenfellner:
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


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user



Back to the top