From: Santhosh K. J <san...@ou...> - 2019-07-19 20:08:16
|
Hi Team, I followed the steps in, https://wiki.python.org/jython/JythonFaq/DistributingJythonScripts to create a jar out of python file. but getting below error while compiling Main.java file. any help on the same will be a great help. Operating system: Mac Mojave 10.14.5 Java version : Java(TM) SE Runtime Environment 12.0.1 $ javac ../Main.java -d . ../Main.java:29: error: constructor JLineConsole in class JLineConsole cannot be applied to given types; return new JLineConsole(); ^ required: String found: no arguments reason: actual and formal argument lists differ in length Note: ../Main.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error Thanks, Santhosh |