Cannot launch NVidia Visual Profiler

Hello,

I have a similar issue, but running with the option

-vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java isn't working.

Here is the output:

JVM terminated. Exit code=1
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-jar /usr/local/cuda-10.1/libnvvp//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /usr/local/cuda-10.1/libnvvp/nvvp
-name Nvvp
--launcher.library /usr/local/cuda-10.1/libnvvp//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326/eclipse_1605.so
-startup /usr/local/cuda-10.1/libnvvp//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.overrideVmargs
-exitdata 1070001
-data
-vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
-vmargs
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-jar /usr/local/cuda-10.1/libnvvp//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar

I tried with different java version and modifying the nvvp.ini file but none of it is working.
I am running it on ubuntu 18.04.

I have this in the log file:

!SESSION 2019-05-30 15:31:35.174 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_212
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA
Framework arguments:  -data
Command-line arguments:  -os linux -ws gtk -arch x86_64 -data

!ENTRY org.eclipse.core.resources 2 10035 2019-05-30 15:31:37.844
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.

!ENTRY org.eclipse.jface 4 0 2019-05-30 15:31:38.580
!MESSAGE /icons/sample.gif
!STACK 0
java.io.FileNotFoundException: /icons/sample.gif
.......

Any idea ?

Hi loic.pierre.bachelot,

We could not reproduce the issue at our end (using CUDA 10.1 on Ubuntu 18.04). It seems like some mismatch between different Java versions. Can you please try cleaning all Java version and then try fresh?


Thanks,
Ramesh

hy, i try this command to open nvvp
nvvp -vm /usr/lib/jvm/java-11-openjdk-amd64/bin/java
and then nvvp error to open.

in this below the error log

!ENTRY com.nvidia.cuda.ide.editor 4 0 2019-10-31 14:59:20.368
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.cuda.ide.editor [6]
  Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
    -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
       org.eclipse.cdt.ui [71]
         Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
           -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
              org.eclipse.cdt.core [69]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.nvidia.pgprof.application 4 0 2019-10-31 14:59:20.372
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.pgprof.application [10]
  Unresolved requirement: Require-Bundle: com.nvidia.viper
    -> Bundle-SymbolicName: com.nvidia.viper; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.viper [12]
         Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
           -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
              com.nvidia.cuda.ide.editor [6]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.ui [71]
                       Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                         -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                            org.eclipse.cdt.core [69]
                              Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.nvidia.viper 4 0 2019-10-31 14:59:20.376
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.viper [12]
  Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
    -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.cuda.ide.editor [6]
         Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
           -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
              org.eclipse.cdt.ui [71]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.core [69]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.nvidia.viper.application 4 0 2019-10-31 14:59:20.380
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.viper.application [13]
  Unresolved requirement: Require-Bundle: com.nvidia.viper; bundle-version="10.1.0"
    -> Bundle-SymbolicName: com.nvidia.viper; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.viper [12]
         Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
           -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
              com.nvidia.cuda.ide.editor [6]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.ui [71]
                       Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                         -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                            org.eclipse.cdt.core [69]
                              Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.nvidia.viper.birt 4 0 2019-10-31 14:59:20.383
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.nvidia.viper.birt [14]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.cdt.core 4 0 2019-10-31 14:59:20.388
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.core [69]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.cdt.ui 4 0 2019-10-31 14:59:20.390
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.ui [71]
  Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
    -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
       org.eclipse.cdt.core [69]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

	at org.eclipse.osgi.container.Module.start(Module.java:434)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
	at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.cdt.ui 2 0 2019-10-31 14:59:21.300
!MESSAGE Could not resolve module: org.eclipse.cdt.ui [71]
  Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
    -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
       org.eclipse.cdt.core [69]
         Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY com.nvidia.viper.application 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: com.nvidia.viper.application [13]
  Unresolved requirement: Require-Bundle: com.nvidia.viper; bundle-version="10.1.0"
    -> Bundle-SymbolicName: com.nvidia.viper; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.viper [12]
         Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
           -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
              com.nvidia.cuda.ide.editor [6]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.ui [71]
                       Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                         -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                            org.eclipse.cdt.core [69]
                              Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY org.eclipse.cdt.core 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: org.eclipse.cdt.core [69]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY com.nvidia.cuda.ide.editor 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: com.nvidia.cuda.ide.editor [6]
  Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
    -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
       org.eclipse.cdt.ui [71]
         Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
           -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
              org.eclipse.cdt.core [69]
                Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY com.nvidia.viper 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: com.nvidia.viper [12]
  Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
    -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.cuda.ide.editor [6]
         Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
           -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
              org.eclipse.cdt.ui [71]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.core [69]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY com.nvidia.viper.birt 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: com.nvidia.viper.birt [14]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY org.eclipse.core.filesystem.java7 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: org.eclipse.core.filesystem.java7 [84]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"
  Unresolved requirement: Fragment-Host: org.eclipse.core.filesystem; bundle-version="[1.4.100,2.0.0)"

!ENTRY com.nvidia.pgprof.application 2 0 2019-10-31 14:59:21.301
!MESSAGE Could not resolve module: com.nvidia.pgprof.application [10]
  Unresolved requirement: Require-Bundle: com.nvidia.viper
    -> Bundle-SymbolicName: com.nvidia.viper; bundle-version="10.1.0.201907290306"; singleton:="true"
       com.nvidia.viper [12]
         Unresolved requirement: Require-Bundle: com.nvidia.cuda.ide.editor; bundle-version="10.1.0"
           -> Bundle-SymbolicName: com.nvidia.cuda.ide.editor; bundle-version="10.1.0.201907290306"; singleton:="true"
              com.nvidia.cuda.ide.editor [6]
                Unresolved requirement: Require-Bundle: org.eclipse.cdt.ui; bundle-version="[5.8.0.nvidia,5.8.1)"
                  -> Bundle-SymbolicName: org.eclipse.cdt.ui; bundle-version="5.8.0.nvidia-qualifier"; singleton:="true"
                     org.eclipse.cdt.ui [71]
                       Unresolved requirement: Require-Bundle: org.eclipse.cdt.core; bundle-version="[5.2.0,6.0.0)"
                         -> Bundle-SymbolicName: org.eclipse.cdt.core; bundle-version="5.7.0.nvidia-qualifier"; singleton:="true"
                            org.eclipse.cdt.core [69]
                              Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

!ENTRY org.eclipse.osgi 4 0 2019-10-31 14:59:21.302
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.nvidia.viper.application.application" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.birt.report.engine.ReportExecutor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.ui.ide.workbench.
	at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
	at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)

how can i solve that?

I’ve got the same problem and I managed to fix it now.

Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

You should be able to see a line showing this, version 1.7 is actually used by Oracle jdk and the openjdk will use 7.0, so if your system’s default jdk is openjdk, you could not open it.

I’ve switched my jdk to oracle jdk which you can download from the openjdk archive or oracle website.

Note: it seems the recent oracle jdk versions (such as v13) are using the same convention with openjdk, so it’s better to use an archived version.

The one I’m using is at http://jdk.java.net/java-se-ri/7
Download the one which is under RI Binaries under the Oracle Binary Code License

Hope it helps

Hi bayazidsustamy,

Can you please provide more information like CUDA toolkit version, OS/platform etc. Note that you need few extra steps on some OSs. For more details check below link.

https://docs.nvidia.com/cuda/profiler-users-guide/index.html#visual


Thanks,
Ramesh

Hello all, I am having same issue, I launch Visual Profiler from the GUI application in Ubuntu 20.04 and I get a ‘An error has occurred, see log file’ message when the application is trying to launch.

Just installed latest CUDA Toolkit (11, 18.04).

Update: I have found the cause of the issue, it’s due to Ubuntu not installing Java on default path. Most likely due to outdated version (8).

Visual installer must be launched from terminal only, cannot click on icon in GUI.

This works for me:
I used JDK 8 from: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html, and nvvp works fine.
Hope it can help you.

Download Java 8

Extract in /usr/lib/jvm
sudo tar -xf jdk-8u301-linux-x64.tar.gz -C /usr/lib/jvm
Run with
nvvp -vm /usr/lib/jvm/jdk1.8.0_301/bin