Results 1 to 6 of 6
- 07-24-2009, 10:21 AM #1
Member
- Join Date
- Jul 2009
- Posts
- 8
- Rep Power
- 0
How to write the JNLP appln for installing the note.exe file in the client location
hi all
i am new to this group
how to write the JNLP progame for reading and installing the notepad.exe file in the client location using JNLp
I am not able to write, i wrote some code for the that is not properly not working.
can any body tell me plz
advance thanks to all.
- 07-25-2009, 03:12 AM #2
Member
- Join Date
- Dec 2008
- Posts
- 64
- Rep Power
- 0
Your question doesn't make a lot of sense the way it is worded so I am going to go out on a limb and try to answer what I think you are saying. JWS and JNLP runs in a sandbox UNLESS you sign your code and request full permissions.
- 07-25-2009, 12:40 PM #3
Member
- Join Date
- Jul 2009
- Posts
- 8
- Rep Power
- 0
Can u provide any body small example how to write JNLP program( sample code for me )
I am not able to write I am now to this JNLP
for requirement is if the sever have the one application running ,
in the client side we have to go every time it is risky process , once if we will give the one URL if the client clicks that link sever side software should be installed into the client side , if any midification are done in server side that should be update into the client side automatically.
can any help for this , small example code
- 07-25-2009, 02:08 PM #4
Member
- Join Date
- Dec 2008
- Posts
- 64
- Rep Power
- 0
This is an example, you need to read the JNLP spec to make sure you include the tags you need to run your app. In this example the file "/some/loction/someSignedJar.jar" on your website MUST be signed with a certificate in order for it to work.Java Code:<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://my.website.com" href="some/location/thisFile.jnlp"> <information> <title>App Title</title> <vendor>Your company</vendor> <homepage href="www.MyWebsite.com" /> <description>Description of what this app does.</description> </information> <offline-allowed/> <security> <all-permissions/> </security> <resources> <jar href="some/location/someSignedJar.jar"/> <j2se version="1.6"/> </resources> <application-desc/> </jnlp>
Last edited by fxRichard; 07-26-2009 at 03:56 PM.
- 07-26-2009, 03:30 PM #5
Member
- Join Date
- Jul 2009
- Posts
- 8
- Rep Power
- 0
please check this
---------
<html>
<body>
<center><br><a href="MyQuiz.jnlp">IDEA Launch Appln</a></center>
- 07-26-2009, 03:37 PM #6
Member
- Join Date
- Jul 2009
- Posts
- 8
- Rep Power
- 0
HI ,thanks for u r reply
plz check my code i wrote but when i am running i am getting bellow error
Error: unexpected exception:java.lang.reflect.InvocationTargetExcept ion
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: FlashTest$ShowAnsListener
at FlashTest.buildGUI(FlashTest.java:51)
at FlashTest.main(FlashTest.java:139)
... 9 more
Caused by: java.lang.ClassNotFoundException: FlashTest$ShowAnsListener
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 11 more
Similar Threads
-
to run jar file without installing jre
By Md Saim in forum Web FrameworksReplies: 10Last Post: 08-29-2011, 10:12 PM -
Transferring a .txt file from 1 location to another
By dbashby in forum New To JavaReplies: 2Last Post: 04-15-2009, 05:22 AM -
note while compiling
By j2vdk in forum New To JavaReplies: 3Last Post: 09-03-2008, 11:52 PM -
.jnlp cant read & write on browser despite signed .jar
By bongia in forum New To JavaReplies: 0Last Post: 11-14-2007, 06:04 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks