The nvidia-visual-profiler and nvidia-nsight packages both depend on default-jre | java6-runtime.
The nvidia-cuda-toolkit package recommends nvidia-visual-profiler. You can install nvidia-cuda-toolkit without installing the recommended packages (and thus without installing java) by doing the following: $ sudo apt-get install --no-install-recommends nvidia-cuda-toolkit > Java is installed and working (manually, for various reasons). > The dependency manager should check first to see if the java executable is available. If so, relax the dependency on Java. Since you have installed java manually, without the package manager, it has no way of knowing it shouldn't install java from the archive. ** Changed in: nvidia-cuda-toolkit (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1450950 Title: Package dependency on Java To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nvidia-cuda-toolkit/+bug/1450950/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs