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, 2564🔥, 0💬
Popular Posts:
Jaxen, Release 1.1.1, is an open source XPath library written in Java. It is adaptable to many diffe...
HttpComponents Core Source Code Files are provided in the source package file, httpcomponents-core-5...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
Where to find answers to frequently asked questions on Download and Installing of Older Versions? He...