cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Java Connector environment variable

Former Member
0 Kudos

Hi

How do I set the variable for SAP java Connector on windows server

The guide says

"Then add sapjoc-install-path to the path environment variable"

What should be the variable name ?

And second

add sapjoc.jar to your classpath environment variable ?

How do I do this ?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182034
Active Contributor
0 Kudos

hi Vioar,

Please have a look at below link. It might be helpful.

SAP Java Connector

Regards,

Former Member
0 Kudos

The Classpath variable should I cread it is the path variable.

There is no variable named classpath should I creade it and ad the path to jco files ?

found it and got it working

the classpath need to be like this

Variablename = CLASSPATH

Variable value = .;"path to jocofiles";

Answers (1)

Answers (1)

Former Member
0 Kudos

"Then add sapjoc-install-path to the path environment variable"

What should be the variable name ?

As the sentence tells you:

"Then add sapjoc-install-path to the path environment variable"


Please refer to SAP Note 31559 for how to set an environment variable.

The Path environment variable is a special variable which is existing on System level and most common also on user level. Therefore the current value is expanded by adding ";<newvalue>" typically to the end of the user variable.


kind regards


Peter

Former Member
0 Kudos

and the classpath ?