cancel
Showing results for 
Search instead for 
Did you mean: 

Install Design Studio/Java not found

kelly_stone1
Participant
0 Kudos

Hi - I am trying to install DS 1.3 and the installer says that I do not have Java installed...but I do.  Do I have more setup to do?

Accepted Solutions (1)

Accepted Solutions (1)

TammyPowlas
Active Contributor
0 Kudos

Hi Kelly - I'm just wondering - is this a new install or an update to an existing installation?

If you are trying to do a new install on an existing installation, that will cause you problems.  You will want to do an update

kelly_stone1
Participant
0 Kudos

Hi Tammy - this is a new install.

TammyPowlas
Active Contributor
0 Kudos

Hi Kelly - just a thought - could you do a new install with DS 1.3 SP1 and not the base version?  I wonder if that work? 

kelly_stone1
Participant
0 Kudos

Hi Tammy - I have tried that with no success.  I have a co-worker with same java setup and using the same install and it works for him  .

Karol-K
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

can you type "cmd" in Start Menu -> Run.

then

set java_home

on my PC I get something like this:

JAVA_HOME=C:\java\jdk1.6.0_31

what do you have?

kelly_stone1
Participant
0 Kudos

Karol - It says "Environment variable java_home not defined"

I was able to procure another laptop, installed java and DS1.3 with no issue.  Same java/DS I am trying to install.  It also has java_home - Environment variable java_home not defined.

I added the JAVA_HOME env rebooted and this did not work. 

I also tried adding Jre7Home as a variable (see log below).

Looking for some setup file to change so that this install knows I have java installed.  Here is a blurb from the log:

~

15:38:41 NwSapsAtlC  1   Startup folder = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"

15:38:41 NwSapsAtlC  1   Variables-Script: Checking for JDK HOME

15:38:41 NwSapsAtlC  1W  Variables-Script: JDK could not be detected!

15:38:41 NwSapsAtlC  1   Variables-Script: Checking for Jre HOME

15:38:41 NwSapsAtlC  1W  Variables-Script: JRE could not be detected!

15:38:41 NwSapsAtlC  1   Script JRE6x86: Checking if Oracle JRE 1.6.0 (32 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE6x86: Oracle JRE 1.6.0 is not installed!

15:38:41 NwSapsAtlC  1   Script JRE6x64: Checking if Oracle JRE 1.6.0 (64 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE6x64: Oracle JRE 1.6.0 is not installed!

15:38:41 NwSapsAtlC  1   Script JRE7x86: Checking if Oracle JRE 1.7.0 (32 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE7x86: Oracle JRE 1.7.0 is not installed!

15:38:41 NwSapsAtlC  1   Script JRE7x64: Checking if Oracle JRE 1.7.0 (64 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE7x64: Oracle JRE 1.7.0 is not installed!

15:38:41 NwSapsAtlC  1   Script JRE8x86: Checking if Oracle JRE 1.8.0 (32 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE8x86: Oracle JRE 1.8.0 is not installed!

15:38:41 NwSapsAtlC  1   Script JRE8x64: Checking if Oracle JRE 1.8.0 (64 Bit) is installed

15:38:41 NwSapsAtlC  1   Script JRE8x64: Oracle JRE 1.8.0 is not installed!

15:38:41 NwSapsAtlC  1   Script: Checking for Adobe Acrobat Reader 6.0

~

15:38:41 NwSapsAtlC  1   Found product - $VC10RT

15:38:41 NwSapFeiUt  1   Condition '(("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED"))' evaluated to false.

15:38:41 NwSapsAtlC  1   Condition '(("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED"))' evaluated to false.

15:38:41 NwSapsAtlC  1   Unhiding commandline product 'SAP BusinessObjects Design Studio'

15:38:41 NwSapsAtlC  1   Unhiding commandline product 'SAP Front End Installer'

15:38:41 NwSapsAtlC  1   Hiding product 'SAP GUI for Windows 7.30 (Compilation 2)', it is not available on the server

15:38:41 NwSapsAtlC  1   Hiding product 'SAP NetWeaver Business Client 4.0', it is not available on the server

15:38:41 NwSapsAtlC  1   Hiding product 'Business Explorer', it is not available on the server

15:38:41 NwSapsAtlC  1   Hiding product 'Analysis, edition for Microsoft Office', it is not available on the server

15:38:41 NwSapsAtlC  1   Transfering preselection of product SAP BusinessObjects Design Studio ({2A1060FD-5190-4665-ABDD-523BA05FB175})

15:38:41 NwSapFeiUt  1   Condition '(("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED"))' evaluated to false.

15:38:41 NwSapsEngn  1  

15:38:41 NwSapsEngn  1   Requirements of workstation components:

15:38:41 NwSapsEngn  1  

15:38:41 NwSapsEngn  1   Requirements of server components:

15:38:41 NwSapsEngn  1  

15:38:41 NwSapsEngn  1   The Server Contains: 8 Components

15:38:41 NwSapsEngn  1   The Workstation Contains: 136 Components

15:38:41 NwSapsEngn  1   The Total Component Collection: 144 Components

15:38:41 NwSapsEngn  1   Checking for component updates...

15:38:41 NwSapsEngn  1   Component Version unchanged: 2274 (Server), 2274 (Workstation) - 'SapSetup Workstation Tools'

15:38:41 NwSapsEngn  1   Component Version unchanged: 6 (Server), 6 (Workstation) - '$VC10RT'

15:38:41 NwSapsEngn  1   All workstation components are up-to-date.

15:38:41 NwSapsEngn  1   Analyzing loaded documents took 0.194 seconds

15:38:41 NwSapFeiUt  1   Condition '(("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED"))' evaluated to false.

15:38:41 NwSapFeiUt  1   Condition '(("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED"))' evaluated to false.

15:38:41 NwSapFeiUt  1   Condition '%SapAADx86InternetExplorerMajorVersion% >= 9' evaluated to true.

15:38:41 NwSapFeiUt  1   Condition '((%SapAADx86InternetExplorerMajorVersion% >= 9) AND (("%Jre6Home%" <> "UNDEFINED") OR ("%Jre7Home%" <> "UNDEFINED")))' evaluated to false.

15:38:41 NwSapsEngn  1W  Commandline product 'AADx86' has failing prerequisistes: <a style="COLOR:red">● Oracle Java Runtime Edition 1.6/7 could not be found.<br/><a style="COLOR:white">● <a style="COLOR:red">Download the latest version from here: <a style="text-decoration:underline" target="blank" href="http://java.com/getjava/">Oracle Java Runtime Environment Download<a/><br/>

                         <a style="COLOR:red">Please restart this setup after fullfilling the prerequisites.<br/>

~

Karol-K
Product and Topic Expert
Product and Topic Expert
0 Kudos

there is something wrong with Java installation on your PC. do you really have a 32 bit version?

what is coming back when you type in CMD

java -version

the easiest way is to reinstall Java on the PC, then perhaps some path variables will be fixed.

kelly_stone1
Participant
0 Kudos

I have had Java 32bit installed here for quite a while with no issue (C:\Program Files (x86)\Java\jre1.7.0_60) until now.  I was thinking that I could find a way to make it work but DS was looking for it here (C:\Program Files (x86)\Java\jre7) which in the default java install location.  I guess where DS looks for Java can't  be changed.  So the long and short of it...I uninstalled and installed in the default location and DS now installs.  Thanks Karol!

Kind regards,

Kelly

Karol-K
Product and Topic Expert
Product and Topic Expert
0 Kudos

I will ask the colleagues here from installer what is exactly the check and which variables must be set..

good to know that at least your issue is now solved.

MartinKolb
Advisor
Advisor
0 Kudos

Hi Kelly,

the installer looks for registry keys that the Oracle installer creates. This behaviour sometimes creates trouble when multiple JDKs/JREs are installed on a computer.

BTW:

As of Design Studio Release 1.4 all this will vanish. Design Studio will not rely on the third-party VMs any more. Instead Design Studio will ship with its own JRE. It's the VM that has already been shipped for many years in SAP's server products. Version 1.4 will ship in week 48. So you don't have to wait much longer for this.

Regards

Martin

Answers (3)

Answers (3)

Former Member
0 Kudos

To know Java bit version, in command line type "java -version"


If a 64 bit version is running, you'll get a message like:

java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

A 32 bit version will show something similar to:

java version "1.6.0_41" Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)


Or type "java -d64 -version"

If 32 bit is installed, you'll get error saying "This java instance does not support 64-bit JVM"

I have successfully installed DS 1.2 with Java 7 32-bit on my machine. Earlier neither Java 8 32-bit nor Java 7 64-bit were supporting.


0 Kudos

Hi, I'm pretty sure you have Java for 64 bit installed on your computer and you need 32 bit version installed.  I had the 64 bit version of Java 6 installed, (Java file: jre-6u45-windows-x64) on my machine and when I tried installing Design Studio I got the same error message.  I then installed the 32 bit version of Java 6, (Java file: jre-6u45-windows-i586) and then Design Studio installed successfully.  Maybe try that....

0 Kudos

Hi,

I would suggest to switch in the next week(s) to Design Studio 1.4 32 Bit or better 64 Bit which contain a complete SAP JVM and thus should not have installation issues like these anymore.

The release schedule is in this note:

http://service.sap.com/sap/support/notes/1760372

Best regards,

Christof

0 Kudos

Hi All,

SapSetup does a little bit of scripting to determine certain registry keys. To find the script, start the installer and go to your %temp% directory. Then search for a new sub folder Sap<xxx>.tmp and go to the Setup folder inside. There is a file SapSetupVars.xml. In this file search for Jre6Home and Jre7Home.

It will show the code that is producing above trace files.

It looks for these kind of registry keys:

HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java
Runtime Environment\Java6FamilyVersion

Be aware that on a 64 Bit Windows the 32-bit Java version is searched in the virtual Wow6432Node folder:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java
Runtime Environment\Java6FamilyVersion

Now the code searches the Java Family Version:

Finally the corresponding JavaHome Entry is search for the family version:

Sometimes the registry entries seem to be corrupt. So far it helped to uninstalled the JRE and then install it again.

Good luck,

Christof

martin_chambers
Participant
0 Kudos

Hi Christof,

When installing DS 1.3 a message popped up that I needed JRE 6 or 7 and a download path (Oracle) was offered. I clicked on it and downloaded the newest version 8.

I still have the same problem as Kelly. I tried her solution, uninstalling and re-installing in a new path.

It didn't help.


The version command returns

No matter what I do, the following command always returned:

"set java_home" returns "Environment variable undefined"

I then tried downloading version 7. I installed it and it worked.

Does jre 8 not work with DS 1.3?

0 Kudos

Hi Martin,

so far we do not support JRE 8 as we found some showstopper with it. We will add this support in the future version.

According to my previous explanation the registry values are considered by the installer. Take regedit.exe and have a look at the path

Best regards,

Christof