on 11-02-2007 9:10 AM
Hi,
In order to work with Java Mapping, I need to import <b>com.sap.aii.mapping.api</b> library, right.
Can anybody suggest me the exact location where should I place that library in java folder in local drive.
Thanks in advance.
Regards
Krishna.
Hi Krisna
<b>Why not u given 10 points. U dissapoint me.</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krisna
Do the below steps
as for example
Step> Our java file in D:\Test\JamaMapping.java
>place aii_map_api.jar in D:\Test
>command >go>d:\test directory>run command like>javac -classpath aii_map_api.jar JavaMapping.java
>make jar>by command>jar -cvf javamap.jar *.class
>export javamap.jar
<b>
***Reward points if helpfull</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Krishna
First of add all jars required in ur eclipse/NWDS
Windows -->Preferences menu, and in the left navigation
pane, select the Java -->Build Path
Thanks
Abhishek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek/Ramesh,
I've already worked on java mapping with eclipse by adding external library to it.
But I want to know how to resolve if I don't use any editor.
In case If I write java program in notepad, then how can I refer to the library. Do I need to place that libray at any specific place in order to import it?
Please try to answer me.
Regards
Krishna.
Hi Krishna
Just try to add the following jar in the jar folder of ur JDK installed or the classpath folder which u have given. When u will run the java command in ur cmd prompt it will automatically load the jar.
The solution is that u add this api to your classpath folder
In my case my calsspath folder is (C:\j2sdk\lib)
Thanks
Abhishek Mahajan
check this
<SAP_install_dir>/<SID>/<instance_name>/j2ee/cluster/server<number>/apps/sap.com/com.sap.xi.services
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi krishna,
you can place it in any folder in your local system. But only you have to do is link the location of that library to the java project.
If you are using netweaver developer studio OR eclipse for your java mapping, then
Right click on the java project -
>
1. goto properties option
2. select java build path
3. then on the right pane click the button "Add External JARs"
Cheers!
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.