Resolving version conflict between java and javac on Ubuntu

后端 未结 5 1609
故里飘歌
故里飘歌 2021-02-01 06:09

I have a problem with my compiled Java application on Ubuntu. It throws UnsupportedClassVersionError. I am compiling with a higher JDK version than the one that is

5条回答
  •  北荒
    北荒 (楼主)
    2021-02-01 06:24

    This is what you want Java and Ubuntu. I have the same config basically, but I am switching back and forth from Glassfish and Java7. Take a look and try setting up your Java env in a similar fashion

提交回复
热议问题