Thanks a lot Priyanka for response!!! You want me to compile or build using java 7 instead of 8 ?
-Regards, Raja. From: Priyanka Gugale <[email protected]<mailto:[email protected]>> Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Thursday, June 2, 2016 at 8:05 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: Re: apex cli Hi Raja, Which java version are you using? I guess you are using java 8, can you try java 7 once. Also looks like it's not loading class from jline jar. Can you check if your maven repository has jline.2.11.jar? -Priyanka On Thu, Jun 2, 2016 at 5:40 PM, Raja.Aravapalli <[email protected]<mailto:[email protected]>> wrote: Hi, I am new to Apex, Trying to lauch apex cli, and it gives me below error: incubator-apex-core]$ sh engine/src/main/scripts/apex Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: jline/console/ConsoleReader at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2701) at java.lang.Class.privateGetMethodRecursive(Class.java:3048) at java.lang.Class.getMethod0(Class.java:3018) at java.lang.Class.getMethod(Class.java:1784) at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526) Caused by: java.lang.ClassNotFoundException: jline.console.ConsoleReader at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) Can someone pls share your thoughts ? To share some background, I am on MAC I cloned the apex core/malahar from git links, https://github.com/apache/incubator-apex-core<http://github.com/apache/incubator-apex-core> & https://github.com/apache/incubator-apex-malhar<http://github.com/apache/incubator-apex-malhar> And did maven install on local MAC machine. Later moved the entire directories in to edgenode of multi-node hadoop cluster, and tried to lauch apex cli, but its failing!!! Please share your thoughts…. Thanks. Regards, Raja.
