Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Run com.sun.javaws.Main from javaws.jar
Can I run com.sun.javaws.Main from javaws.jar directly? I don't want to use the JavaWS command.
✍: FYIcenter
Not really. You can get JavaWS started.
But you need to set a number of properties at the command line to make it work properly.
See the tutorial below:
1. First try:
>\fyicenter\jdk-1.8.0\bin\java -cp \fyicenter\jdk-1.8.0\jre\lib\javaws.jar com.sun.javaws.Main Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/deploy/config/JREInfo
2. Adding deploy.jar
>\fyicenter\jdk-1.8.0\bin\java -cp \fyicenter\jdk-1.8.0\jre\lib\javaws.jar;\fyicenter\jdk-1.8.0\jre\lib\deploy.jar com.sun.javaws.Main #### Java Web Start Error: #### Invalid arguments supplied: { }
3. Adding JNLP file:
>\fyicenter\jdk-1.8.0\bin\java -cp \fyicenter\jdk-1.8.0\jre\lib\javaws.jar;\fyicenter\jdk-1.8.0\jre\lib\deploy.jar com.sun.javaws.Main dynamictree.jnlp Exception: java.security.AccessControlException thrown from the UncaughtExceptio nHandler in thread "Java Web Start Main Thread" Exception: java.security.AccessControlException thrown from the UncaughtExceptio nHandler in thread "AWT-Shutdown" Java HotSpot(TM) 64-Bit Server VM warning: Exception java.security.AccessControl Exception occurred dispatching signal UNKNOWN to handler- the VM may need to be forcibly terminated
⇒ Using JavaWS (Java Web Start) in Web Pages
2017-12-31, 2746🔥, 0💬
Popular Posts:
How to read XML document with XML Schema validation from socket connections with the socket\DelayedI...
What Is jtds-1.2.2.jar? jtds-1.2.2.jar is the JAR files of jTDS Java library 1.2.2, which is a JDBC ...
Commons Pool provides an Object-pooling API, with three major aspects: 1. A generic object pool inte...
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
SLF4J API is a simple API that allows to plug in any desired logging library at deployment time. Her...