cancel
Showing results for 
Search instead for 
Did you mean: 

NWDI Versions

Former Member
0 Kudos

I have read this document:

however, I'm having some doubts about it.

I'm currently on a project at a client trying to bring UCES online with some custom development.

I have 2 issues, this is one of them.

The Java AS is a separate box running Netweaver 7.00.

The NWDI system is on Netweaver 7.4.

I have created a track with 7.00 template and wrote a very simple "Hello World" application with a JSP page and a Java class in the WAR DC.

Everything compiled fine but I got a runtime error on the Java AS box:

class file has wrong version 50.0, should be 48.0

Please remove or make sure it appears in the correct subdirectory of the classpath.

So I'm wondering:

if the CBS of NWDI is on 7.4 and uses SAP JVM 6 to compile the SC, when it goes to the Java AS, which is on 7.00 running JVM 4, isn't there going to be a conflict?

and is there a way to tell CBS to use JVM 4 to compile my 7.00 track?

Thanks!

Eddy

Accepted Solutions (1)

Accepted Solutions (1)

Stefan-EA
Contributor
0 Kudos

Eddy,

That error indicates that the application was built with Java 6 while the runtime is on Java 1.4.

You will need to install the 1.4 JDK on your NWDI and add a build variant to your track in order to tell it to use Java 1.4.

Some more info can be found here

Former Member
0 Kudos

Stefan,

Thanks for the info!

I have completed the following:

1. installed JDK1.4.2 on the NWDI

2. added key/value pair for JDK1.4.2_HOME in JDK_HOME_PATHS in CBS (left BUILD_TOOL_JDK_HOME blank)

3. added com.sap.jdk.home_path_key=JDK1.4.2_HOME to the default variant

Now I'm getting errors in NWDS when trying to compile:

Error: com.sap.tc.buildplugin.util.BuildPluginException: No JDK_HOME_PATH defined for key 'JDK1.4.2_HOME'

Is there something on the NWDS side I need to set?

Thanks!

Eddy

Stefan-EA
Contributor
0 Kudos

Eddy,

Take a look at this note

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

Stefan

Former Member
0 Kudos

That did it.

Thank you so much!

Eddy

Answers (0)