Skip to content

Error when compiling for desktop #146

Open

Description

@adriancativa17

Hi, I'm getting this error when building for desktop. How can I fix it? I'm using the latest version of the library.

Callback uk.co.caprica.vlcj.player.embedded.videosurface.CallbackVideoSurface$SetupCallback@3ff19e4d threw the following exception
java.lang.NoClassDefFoundError: Could not initialize class uk.co.caprica.vlcj.player.embedded.videosurface.ByteBufferFactory
	at uk.co.caprica.vlcj.player.embedded.videosurface.NativeBuffers.allocate(NativeBuffers.java:74)
	at uk.co.caprica.vlcj.player.embedded.videosurface.CallbackVideoSurface$SetupCallback.format(CallbackVideoSurface.java:93)
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoClassDefFoundError: sun/misc/Unsafe [in thread "Thread-21"]
	at uk.co.caprica.vlcj.player.embedded.videosurface.ByteBufferFactory$UnsafeAccess.<clinit>(ByteBufferFactory.java:105)
	at uk.co.caprica.vlcj.player.embedded.videosurface.ByteBufferFactory.getAddressOffset(ByteBufferFactory.java:67)
	at uk.co.caprica.vlcj.player.embedded.videosurface.ByteBufferFactory.<clinit>(ByteBufferFactory.java:38)
	... 2 more

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions