Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java error when #4

Open
xiaodaigh opened this issue Feb 25, 2015 · 5 comments
Open

Java error when #4

xiaodaigh opened this issue Feb 25, 2015 · 5 comments

Comments

@xiaodaigh
Copy link
Contributor

Error in .jnew("s7b2csvclass") :
java.lang.UnsupportedClassVersionError: s7b2csvclass : Unsupported major.minor version 51.0

I get this error when running read.sas7bdat on my Mac. From my internet search it mentioned something about the java class being compiled to a lower version? I am using Java 8. Is the jar files compiled into java 1.6 format or something?

@BioStatMatt
Copy link
Owner

I used Java 7 (major version 51) to compile the class. I'm not sure why
your version of Java won't run it; I'm not a Java programmer.

On Wed, Feb 25, 2015 at 2:52 PM, ZJ [email protected] wrote:

Error in .jnew("s7b2csvclass") :
java.lang.UnsupportedClassVersionError: s7b2csvclass : Unsupported
major.minor version 51.0

I get this error when running read.sas7bdat on my Mac. From my internet
search it mentioned something about the java class being compiled to a
lower version? I am using Java 8. Is the jar files compiled into java 1.6
format or something?


Reply to this email directly or view it on GitHub
#4.

@florianlacerre
Copy link

Hi,

Same problem here, on osx and JDK 8u45.
So I installed the JDK 7u80 : idem.
So I tried to install the JDK 7u51, but my os version is not supported (only 10.7.3, my os is 10.10.3).

Any idea..?

Bien à vous

@orthoeng
Copy link

Same problem JDK 8u66
I read something about rJava having problems runnning in the old java even if
you have java 1.8 it maybe running java 1.6 ... seeing it i can found it.

trying to found the answer ... hope i get it soon

@BioStatMatt
Copy link
Owner

FYI, I'm a C and R programmer; very little Java. I had to tinker with this
for almost a week to get it to work. I'm sure that it's suboptimal. Happy
to have feedback.

On Fri, Nov 27, 2015 at 10:14 PM, orthoeng [email protected] wrote:

Same problem JDK 8u66
I read something about rJava having problems runnning in the old java even
if
you have java 1.8 it maybe running java 1.6 ... seeing it i can found it.

trying to found the answer ... hope i get it soon


Reply to this email directly or view it on GitHub
#4 (comment)
.

@sultanum
Copy link

Is there any solution for this? I am having the same issue in my macbook pro.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants