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
$ 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
There are several possible reasons why the Nvidia Control Panel crash, including outdated drivers and faulty hardware. However, there are many simple solutions, such as updating drivers or resetting settings, that can fix this problem and allow you to take advantage of all the features of the Nvidia Control Panel.
ReplyDelete