Java installation issues on Ubuntu

后端 未结 7 1237
时光取名叫无心
时光取名叫无心 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条回答
  •  佛祖请我去吃肉
    2021-01-19 03:02

    To add a new pathname to the existing PATH variable, you need to type this in Terminal:

    PATH=`echo $path`:/your/new/path
    export PATH

    If you had lost your original PATH variable, you could restore by entering this:

    PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    export PATH

提交回复
热议问题