雲端開發平台Cloud9的Ubuntu環境
安裝jdk後
用echo $PATH指令查,如下:
abcde:~/workspace $ echo $PATH
/home/ubuntu/.nvm/versions/node/v4.6.1/bin
:/usr/local/rvm/gems/ruby-2.3.0/bin
:/usr/local/rvm/gems/[email protected]/bin
:/usr/local/rvm/rubies/ruby-2.3.0/bin:/mnt/shared/bin
:/home/ubuntu/workspace/node_modules/.bin
:/home/ubuntu/bin
:/usr/local/sbin
:/usr/local/bin
:/usr/sbin
:/usr/bin
:/sbin:/bin
:/mnt/shared/sbin
:/opt/gitl
:/opt/go/bin
:/mnt/shared/c9/app.nw/bin
:/usr/local/rvm/bin
並沒有看到jdk及Java有關的環境變數
為什麼可以直接使用javac呢
我之前用Windows練習Java
都要先設環境變數
thanks