Java installation issues on Ubuntu

后端 未结 7 1216
时光取名叫无心
时光取名叫无心 2021-01-19 02:46

Trying to install Java (JDK 6) on my new Ubuntu system and getting some bizarro errors. This is my first time ever using any flavor of Linux and so I\'m sure it\'s

7条回答
  •  旧时难觅i
    2021-01-19 03:04

    You simply have put the JDK binaries in a directory. Although by convention /opt/java or /opt/jdk is often used, these are not directories that are automatically recognized by the system.

    You can however update your PATH environment variable to include the /opt/java/bin dir, or symlink (ln -s) /opt/java/bin/java in one of the directories on your system that are included in your path like /usr/bin/

提交回复
热议问题