the jar file C:\Program Files\Java\jre7\lib\rt.jar have no source attachment

This is for Scala, Python, core Java, java script, Struts, Jsp, Servlet, Spring, EJB etc. Programming Language and Framework
mina1234
Posts: 72
Joined: Tue May 05, 2015 7:08 pm
Contact:

the jar file C:\Program Files\Java\jre7\lib\rt.jar have no source attachment

Postby mina1234 » Mon Sep 28, 2015 5:37 pm

I am getting below error in eclipse while running java code.

Exception in thread "main" java.lang.UnsupportedClassVersionError: edu/stanford/nlp/international/Language$1 : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)


Guest

Re: the jar file C:\Program Files\Java\jre7\lib\rt.jar have no source attachment

Postby Guest » Tue Sep 29, 2015 5:21 pm

Hi,
I think you are using jre7 try with jre8 or other upward version.

I know it is version issue.
Thanks


Return to “Core Java, Scala, Python and Advanced Programming or development”

Who is online

Users browsing this forum: No registered users and 1 guest