2016-09-29 101 views
0

一個VM內最近安裝lubunto並安裝JRE和JDK的OpenJDK-9lubunto錯誤編譯代碼

現在我只是測試javac編譯器,但它不是編譯我的程序,該程序是非常簡單的(字面的hello world ),所以我不知道這是否是我是因爲如果JDK是錯誤的

這令人難以置信的愚蠢的是我的程序:

public class Test { 
     public static void main (String[] args) { 
      System.out.println("this is a test"); 
     } 
} 

我收到的錯誤是: enter image description here

請幫我

回答

0

沒關係,

我不得不使用sudo javac的,因爲我需要root權限做任何事情 令人沮喪,但排序