0

I have download the J2OBJC version and while running the command on terminal A:j2objc-master $ make dist

I am getting below error

building j2objc jar javac: invalid source release: 1.8 Usage: javac use -help for a list of possible options make[1]: * [/Users/Downloads/j2objc-master/translator/build_result/j2objc.jar] Error 2 make: * [translator] Error 2

Please suggest

Ankur
  • 1
  • 7

1 Answers1

1

That's a javac error, stating that the version of javac on your system (which is part of the JDK you have installed) does not support the j2objc project's Java 8 minimum version. Upgrade your system to JDK 8 from Oracle to support this minimum.

tball
  • 1,984
  • 11
  • 21
  • Hi i have been able to update . Now i am getting this error can you please suggest src/main/java/com/google/devtools/j2objc/javac/JavadocConverter.java:155: error: method does not override or implement a method from a supertype @Override ^ ^ Note: src/main/java/com/google/devtools/j2objc/jdt/AbstractTypeBinding.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 100 errors make[1]: *** [/Users/Documents/J2OBJC/translator/build_result/j2objc.jar] Error 1 make: *** [translator] Error 2 – Ankur Aug 03 '17 at 06:02