cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error "Unsupported major.minor version 52.0" while connecting to SQL Server 2014

Former Member
0 Kudos

Hi,

I have installed Lumira 1.27 ( was having same isse with Lumira 1.25 as well)

Downloaded MS SQL Server drivers from  Microsoft website.

Driver version is 4.2 and 4.1

When I try to connect to SQL Server it gives me error,

Online I saw that most of the time this error comes due to mismatched versions of JDK and JRE, not sure JDK version should be considered of my machine or machine where Lumira was compiled, however on my machine both versions are same,

Not sure what could be wrong here.

I have tested sample java code connecting to same SQL Server with same SQL Driver it works fine.

Can anyone help with this issue?

Thanks,

Dilkush

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

What version of Java is installed on your computer?

Check that the java_home environment variable points to C:\Program Files\SAP Lumira\Desktop\jre\bin

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow me on Twitter

Former Member
0 Kudos

Hi Ludek,

I created JAVA_HOME environment variable and added path of JRE from SAP installation directory still same issue.

I have JDK and JRE installed of version 1.8

Thanks,

Dilkush

former_member183750
Active Contributor
0 Kudos

Add these lines to the SAPLumira.ini file:

-vm

C:\Program Files\Java\jre1.8.0_45\bin

Male sure they are the 1st two lines in the file. Then have a look, see what the logs show.

- Ludek

Former Member
0 Kudos

Hi Ludek,

Removed JAVA_HOME variable and added this two lines in ini file and that did the trick.

Thanks for the help.

-Dilkush

former_member589680
Participant
0 Kudos

Hi ,

I tried the same as you suggested added below two lines in SapLumira.ini but facing the same issue,

-vm

C:\Program Files\Java\jre1.8.0_45\bin

Any one please guide me to solve ?

For kind of information I am using SQL Server 2014.

Thanx in advance.

Jatin Chauhan

Answers (0)