Exception while compiling: wrong version 50.0, should be 49.0

后端 未结 5 744
故里飘歌
故里飘歌 2020-12-28 12:31

I am working an application with JXL API and when i tried compiling using eclipse IDE, it\'s working fine and the same is not compiling when i am trying to compile in Comman

5条回答
  •  醉酒成梦
    2020-12-28 12:58

    this could be that in you IDE you point to latest version of JDK but when you build your program outside the IDE(maybe with maven) your java_home is the older version to the one on your IDE.

提交回复
热议问题