Problems installing Java EE SDK on Linux

前端 未结 8 984
我寻月下人不归
我寻月下人不归 2020-12-30 01:34

I installed the Java 6 JRE on my VPS just fine, but I can\'t get the EE SDK installation to even run.

root@vps [/usr/java]# java -version
java version \"1.6.         


        
相关标签:
8条回答
  • 2020-12-30 02:25

    Quick and dirty solution for me:

    sudo apt-get install jarwrapper fastjar
    

    Then just run your .sh script and voila!

    0 讨论(0)
  • 2020-12-30 02:25

    In my case, I had jdk1.6.0_16 extracted in my home directory and had a symbolic links to java and /javac in /bin. Then I encountered the error described above in the question.

    However once I included a symbolic link to jar in /bin, the shell script to install Java EE ran as expected.

    0 讨论(0)
提交回复
热议问题