Thursday, February 27, 2020

[Resolved] - Cannot launch Nvidia Visual Profiler on Ubuntu / Mint

My Linux Mint / Ubuntu 18.04 had openjdk 11.0.2 installed by default but it showed the below error. nvvp or Nvidia Visual Profiler (or even with nSight) requires jre-8 as a MUST.

$ nvvp
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:/usr/local/cuda-10.0/libnvvp/plugins/org.eclipse.osgi_3.10.1.v20140909-1633.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release


Work around measures

Step 1. sudo apt install openjdk-8-jdk
Step 2. nvvp -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

That's it! tata

No comments:

Post a Comment

Last Post !! Moved to new site

As I am getting old 😋, it seem like I can not remember many of my earlier tech encounters. This is the place I was logging so that I refer ...