I want to improve my jaxws in 2.2 (jdk1.6 comes bundle with jaxws 2.1)
Java (TM) SE runtime environment (1.6.0_20-B22 build) Java HotSpot (TM) Client: My JDK (I have not installed a public JR):
Java version " 1.6.0_20 "Java (TM) VM (Build 16.3-B0101, Mixed Mode)
Here's how to explain it:
One way to fix this is by jaxws -api.jar to copy and JRE supported directory in Jaxb-api.jar, which is the $ JAVA_HOME / lib / endorsed (or $ JDK_HOME / jre / lib / endorsed)
But I'm not sure this I have defined only % JAVA_HOME%
due to the effect of my installation. And the folder $ java_home / lib / endorsed
is disabled, so I created and copied two jars. But if I still have a tool (wsgen jaxws)
wsgen -version
I still get:
JAX-WS RI 2.1.6 in JDK 6
I also tried to create folder JAVA_HOME \ jre \ lib \ endorsed
(note that those documents In JDK_HOME, but as I have been using Java). Still the same Vascon output.
My questions are:
- What is the difference between Jawa-HOME and JDK / HOME in Doctor Page? There are no important or only two ways to refer to JAVA_HOME?
- Is 'wsgen -version' a valid way to check the jacks version or does it always call exe in the original jdk, but this does not mean the supported jar will be used?
- Does anyone know very detailed steps to install jaxws2.2 in jdk.16?
I found that there are some hints about what I am seeing
JS is included in the wsimport and wsgen JR / bin directory as the XE and if you still call it from the command line, it will still run the jacks-ws 2.1 implementation.
To update to Jax-WS 2.2, you will be able to convert YS 2.2.x RI from the relevant JAX JSAS website.
You need to remove the content on your computer.
You need to copy jaxws-api.jar and jaxb-api .jar to the supported directory (according to your original description)
However, wsgen.exe or Instead of using wsimpor instead of T.exe (as it applies to your project), now you need to use the jacks-YS 2.2 update / download made available.
Download WS 2.2 in your JAX-RED directory you have removed from your Jade, you will see a bin directory and 4 files (wsgen.bat, wsgen.sh, wsimport.bat, wsimport.sh) and These are what you need to run instead.
To run them, you have to set the JAXWS_HOME environment variable (see wsgen / wsimport.bat / sh file for details).
Now you have to allow JAX-WS 2.2 to run with JDK 1.6
Comments
Post a Comment