Changing of Java

Classified in : Development - Tags : Java, versions change

When changing Java versions, you may have some problems.

Just delete the former .class files, and the former .jar files created with the previous version of Java, before re-creating them.

Typically, when compiling a .java file, you will end up with an error like this:

$ javac -Xlint MyTestClass.java
MyTestClass.java:28: error while writing MyTestClass: MyTestClass.class (Operation not supported)
class
MyTestClass{
       ^
1 error

 

The re-creation won't work: the formerly created files must be deleted.

[ no comments ]

© Le Computing Froggy  !

  • Article Currently 2.76/5
  • 1
  • 2
  • 3
  • 4
  • 5

 Rating : 2.8/5 (34 votes cast)

Write a comment

What is the third letter of the word qiilpb? :