Results 1 to 2 of 2

Thread: Specifying java to the main menu

Threaded View

  1. #1
    Join Date
    Jun 2006

    Specifying java to the main menu


    I have an application in the directory /home/stephane/programs/springsource/sts-3.1.0.RELEASE that requires java, in order to start up.

    I can start the application fine from the command line:
    stephane@stephane-ThinkPad-X61s:~> /home/stephane/programs/springsource/sts-3.1.0.RELEASE/STS
    But when I try to start it from the main menu of Lubuntu 12.10 the application does not start and complains it cannot find any java. Here is the popup message it shows:
    A Java Runtime Environment (JRE) or Java Development Kit (JDK)
    must be available in order to run STS. No Java virtual machine
    was found after searching the following locations:
    java in your current PATH
    Here is the menu entry in the .local/share/applications/sts.desktop file:
    [Desktop Entry]
    Comment=Spring Source Tools Suite

    It used to work from the main manu but not anymore since I removed the java installed in the system. I want to use the java that is installed under my user home directory /home/stephane/programs/jdk1.6.0_37 and not any /usr/bin/java...

    How can I tell the desktop environment to use my java ?
    Last edited by stephaneeybert; November 28th, 2012 at 11:10 AM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts