Announcement Announcement Module
Collapse
No announcement yet.
Install STS - JDK path problem - Fedora 19 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Install STS - JDK path problem - Fedora 19

    I am trying to install STS on Fedora beta 19 ... unsucessfuly ;(

    1. Installation via .sh installer:

    I don't know which JDK path to enter in the installer form ...

    I have installed JDK:
    Code:
    [*****@localhost java]# rpm -qa | grep jdk
    java-1.7.0-openjdk-devel-1.7.0.19-2.3.9.12.fc19.i686
    java-1.7.0-openjdk-accessibility-1.7.0.19-2.3.9.12.fc19.i686
    java-1.7.0-openjdk-src-1.7.0.19-2.3.9.12.fc19.i686
    java-1.7.0-openjdk-javadoc-1.7.0.19-2.3.9.12.fc19.noarch
    java-1.7.0-openjdk-demo-1.7.0.19-2.3.9.12.fc19.i686
    java-1.7.0-openjdk-1.7.0.19-2.3.9.12.fc19.i686
    
    [******@localhost sts-3.2.0.RELEASE]$ javac -version
    javac 1.7.0_03
    I don't know what to enter in "SpringSource Tool Suite’s Installation Process Step 04" ???? "I should indicate the JDK path, but I don't know which part to enter ????"


    2. Installation via tar.gz:


    I have unzipped the files and I want to start STS:

    Code:
    [*****@localhost sts-3.2.0.RELEASE]$ ./STS
    bash: ./STS: cannot execute binary file
    
    [*******@localhost sts-3.2.0.RELEASE]$ ls -al
    skupno 3004
    drwxr-xr-x.   8 ******* *******    4096 jun  9 10:50 .
    drwxrwxr-x.   7 ******* *******    4096 jun  9 10:50 ..
    -rw-r--r--.   1 ******* *******  290001 mar  6 09:43 artifacts.xml
    drwxr-xr-x.   5 ******* *******    4096 jun  9 10:50 configuration
    drwxr-xr-x.   2 ******* *******    4096 mar  6 09:31 dropins
    -rw-r--r--.   1 ******* *******     174 mar  6 09:31 .eclipseproduct
    -rw-r--r--.   1 ******* *******   16536 feb  4 21:34 epl-v10.html
    drwxr-xr-x. 184 ******* *******   24576 jun  9 10:50 features
    -rwxr-xr-x.   1 ******* *******  191459 mar  6 09:24 icon.xpm
    -rwxr-xr-x.   1 ******* *******  335360 mar  6 09:24 libcairo-swt.so
    -rw-r--r--.   1 ******* *******   11232 mar  6 08:50 license.txt
    -rw-r--r--.   1 ******* *******    8951 feb  4 21:34 notice.html
    -rw-r--r--.   1 ******* ******* 1975858 mar  6 08:50 open_source_licenses.txt
    drwxr-xr-x.   5 ******* *******    4096 jun  9 10:50 p2
    drwxr-xr-x.  28 ******* *******   94208 jun  9 10:50 plugins
    drwxr-xr-x.   2 ******* *******    4096 jun  9 10:50 readme
    -rwxr-xr-x.   1 ******* *******   71223 mar  6 09:24 STS
    -rw-r--r--.   1 ******* *******     314 mar  6 09:43 STS.ini
    Can you please help me with starting STS ?

  • #2
    Try the following command to determine what 'java' command you are running:

    Code:
    which java
    This should print out the path to the "java" executable your shell finds on your PATH. Most likely that is in fact a symlink to the real java executable.
    So then type

    Code:
    ls -la <the-path-to-java-you-found>
    This should tell you the actual location the symlink points to. Now that should be enough information to find the directory where fedora has installed your jdk files.

    While on the subject. I would advise not to install open-jdk but install a sun-jdk instead. You will probably have a better experience since, although open-jdk is getting better all the time and strives to be 100% compatible with sun-jdk in some cases it is not, and STS is generally more used and better tested with sun-jdk.

    Let me know if you need more help.

    Kris

    Comment


    • #3
      [solved]

      Thank you for your answer ...

      I have solved the problem:

      http://forums.fedoraforum.org/showthread.php?p=1655127

      Comment


      • #4
        Ok. Thanks for letting us know.

        Comment

        Working...
        X