Ankur
Ankur

Reputation: 1

Not able to install J2OBJC using terminal

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

Upvotes: 0

Views: 356

Answers (1)

tball
tball

Reputation: 2044

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.

Upvotes: 1

Related Questions