Java Wizard and EXE

1. How to make a java application installation wizard? After installation a link to run the program should come on to the start menu, as what happens when you install a common software in windows OS.
2. is it good to make a jar an exe, will it give the exact same results as a jar does?

Madushan wrote:
..2. is it good to make a jar an exe, No.
..will it give the exact same results as a jar does?No. A Jar will run on any OS with a compatible JRE. An EXE will only run on Windows. For installing a Jar on Mac and Unix/Linux*, I highly recommend Java Web Start (http://www.java.com/en/download/faq/java_webstart.xml).
JWS can provide desktop integration via the JNLP (launch configuration) file. If the app. is sand-boxed, the user will be prompted to accept or reject the desktop integration. If the app requests (and the user grants) higher level permissions, the shortcuts are made automatically. Shortcuts can also be added programmatically using the IntegrationService (http://download.oracle.com/javase/6/docs/jre/api/javaws/jnlp/javax/jnlp/IntegrationService.html).
More complex installations can be taken over using Java code (or native installers) invoked from an installer-desc for the application.
Some other features of web start are auto-update, lazy downloads, splash screens..
* Actually, I also recommend JWS for Windows installs. I just thought I'd give you it's features before coming to that. ;)

Similar Messages

  • Java Deployment and *.EXE

    I have used JDeveloper for about a year now. I have yet to find out how to develop an Application that is stand alone from the JDeveloper's environmental run call. I am looking to create and executable but cant seem to do that. I can do a deploy and make a *.jar and *.zip, but unless i missed something through the process. I cant seem to find out how i can deploy this internal solution to my company.

    You cannot create and deploy an EXE file that as mentioned. To run an application you need a JRE (Java Runtime Environment) version 1.1 above. Every client PC that needs to run the application has to have a JRE installed. Fortunately, the JRE is free and downloadable from http://java.sun.com
    Alternatively, you can deploy the application as an applet. This will enable the application to run in a browser. However, a couple of points to note here - 1) the HTML file containing the applet must have all the required libraries available in its classpath
    2) some of the libraries can be large and take a long time to download before the applet starts running
    3) the browser needs to be Java 1.1 compatible. If not the user will have to install that; again freely avavilable from java.sun.com
    null

  • When using Java Wizard with Firefox 3.6.23 on a Mac OS X 10.6.8 it keep getting an error message: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem." Have NO idea how to fix this problem.

    When trying to upload files I received the following error: "The Java Wizard cannot run. Please configure your browser to allow Java applets to access the filesystem."

    If the problem is with a site that is hosted using MOVEit DMZ by Ipswitch, please notify the site owner of the issue and ask them to apply the patch that is available on the support site to resolve the issue.
    This is a better resolution than downgrading your version of Java that was updated due to security issues.

  • HT5493 Java update and reverting to 1.6 plug in.

    Good afternoon.
    After installing the java update this week I've realised it makes my Macbook useless for work. I regularly rely on a Corporate Information System at my University to access student records. This system is incompatible with Java 7, upon installing the update it directs me to install the plug in from Oracle (for which only java 7 is available) When trying to access the system it comes up with the following error, "requires jinitiator 1.1.8.2 or higher" Which I assume is a change between Java 6 and 7.
    Spent a long time with the Universities tech support who couldn't help only to confirm that Java 7 is not supported (and even directed me to several .exe windows programs to update jinitiator, as well as to some malware). Apple Tech suport had no solution to the problem either other than to time machine back to before the update.
    I have now used time machine to restore to prior to the update (which took 48 hours for 300GB!!!!!)
    So ideally I would like to install the update (for various reasons, including security) but still have access to University system.
    Can anyone provide any advice how I can do so?
    Alternatively I suppose I will have to avoid this update, but I assume it is forever going to remind me. If that is the case then is there a way to permanently tell my macbook to ignore this update?
    Any help greatfully received?
    Kind regards
    Josh

    So ideally I would like to install the update (for various reasons, including security) but still have access to University system.
    It doesn't sound like you can. If this is a web-based Java applet, there is no Java 6 applet plug-in anymore. Apple has removed it in this update, so you have no choice but to use Java 7 for web applets. If it is not a web applet, rolling back should work fine, but the system may be incompatible with the changes in the latest version of Java 6 as well. If you can't use the latest versions of Java, you will be forced to use a version of Java that is not only vulnerable to attack, but that the hackers of the world have now gotten a road map to (in the form of the update). Just because a vulnerability is patched does not mean that it stops being exploited... many vulnerabilities continue to be exploited for years, due to people who are unable or unwilling to install security updates.
    Honestly, you shouldn't have to be forced to compromise the security of your system to use this software. You need to speak to people at your university at a higher level than just the techs, and explain to them how this system is compromising both university security and the individual security of every person who uses it. Scare them, and they'll light a fire under the techs to get this fixed.

  • Java 8 and Java 6 working simultaneously

    Hi,
    I have a problem when I want to run two different programs and one of them works with <Java 6u45 and the other one works with >Java 8.
    The program that requires Java 8 is a shortcut so that can easily be linked to the Java 8 javaws.exe but the other program is .jnlp file.
    Is there any way I can make those two versions run and work at the same time?

    Hi
    Known bug in Oracle JVM.
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=465693
    Regards
    Ed Willink
    On 09/07/2015 10:13, Ed Willink wrote:
    > Hi
    >
    > Is anyone using Eclipse Modeling successfully on Windows 8.1 with a
    > Java 8 VM?
    >
    > I tried six months ago, with perpahps Mars M4, and got regular Java
    > crashes and so dismissed it as a bad install aberation and reverted to
    > Java 7.
    >
    > A couple of weeks ago, on two Windows 8.1 machines, with more recent
    > Java and more recent Eclipse (Mars), I still get a Java crash every
    > couple of hours.
    >
    > Does anyone see this? Is there some trivial Java 8 setup that I have
    > overlooked?
    >
    > Regards
    >
    > Ed Willink
    >
    >

  • HT5493 Java update and reverting to 1.6

    Good afternoon.
    After installing the java update this week I've realised it makes my Macbook useless for work. I regularly rely on a Corporate Information System at my University to access student records. This system is incompatible with Java 7, upon installing the update it directs me to install the plug in from Oracle (for which only java 7 is available) When trying to access the system it comes up with the following error, "requires jinitiator 1.1.8.2 or higher" Which I assume is a change between Java 6 and 7.
    Spent a long time with the Universities tech support who couldn't help only to confirm that Java 7 is not supported (and even directed me to several .exe windows programs to update jinitiator, as well as to some malware). Apple Tech suport had no solution to the problem either other than to time machine back to before the update.
    I have now used time machine to restore to prior to the update (which took 48 hours for 300GB!!!!!)
    So ideally I would like to install the update (for various reasons, including security) but still have access to University system.
    Can anyone provide any advice how I can do so?
    Alternatively I suppose I will have to avoid this update, but I assume it is forever going to remind me. If that is the case then is there a way to permanently tell my macbook to ignore this update?
    Any help greatfully received?
    Kind regards
    Josh

    Sounds like we are at the same University!
    My solution has been to use a virtual Windows machine to access the application under Parallels. A bit like cracking nuts with a sledgehammer, I know, but it works.

  • Java code to exe-file

    Hi!
    I hope someone can help me with this.
    I have done a program in Java-code and now I want to convert that code into an executable file that can be run on most computers. I have tried to convert the code to a JAR-file and then, using the program JSmooth, transform it into a exe-file. But, sad to say...it failed. Is JSmooth the way to do it or is there another better way?
    Hope to get an answer.. :)
    / Berenur

    add a Main-Class: yourclass line to a manifest file, and specify your manifest when you create the jar.
    I.e.
    Manifest-Version: 1.4
    Main-Class: myClassSave that to manifest.mf or something like that.
    Then,
    jar -cvfm MyJar.jar manifest.mf [all files to include in jar]
    done.

  • Up for something new in Java - tabs and executables.

    Hey again,
    Ive grown quite confident in my basics for JAVA and now want to try some new things.
    I want to make a piece of java that i could actually open like somekind of program, preferably (like) a .exe file,
    Are you aware of any way to acomplish this?
    Next to that, I want to use tabs in the new application, but how does the tab structure work?
    I am using Java-Editor and am interested in the JTabbedPane part, to be more exact.
    Thanks in advance!
    -Annihlator.

    Annihlator wrote:
    Hey again,
    Ive grown quite confident in my basics for JAVA and now want to try some new things.
    I want to make a piece of java that i could actually open like somekind of program, preferably (like) a .exe file,
    Are you aware of any way to acomplish this?
    Next to that, I want to use tabs in the new application, but how does the tab structure work?
    I am using Java-Editor and am interested in the JTabbedPane part, to be more exact.
    Thanks in advance!
    -Annihlator.The preferred distribution format for java is the .jar (Java ARchive)file. If they are built correctly and the .jar file type is linked to the java runtime, they can be double-clicked and executed. Sun has some very nice tutorials on building and using them.
    As for JTabbedPane, it's really quite simple. Just add the JPanels you want to show for each tab to the JTabbedPane (along with the tab text). Again, the tutorials (linked from the javadocs) explain the basics pretty well.

  • Can't compile the HTML-Java Wizard generated file.

    I have created a java file using HTML-Java Wizard.
    when compiling the java file it gives an error
    method getDeclaredMethod(java.lang.String,null) not found in
    class in java.lang.class
    can anyone tell me how can I remove the error ?
    waiting for your early reply in this regard.
    Thanks
    null

    Thanks, My problem has been solved.Now it is working.
    Initially I was using wrong classes.zip file in myclasspath.The
    Correct one is in %JDEVELOPER_HOME%\java\lib. The size of that
    file is 9.48 MB.
    Regards
    -- Sujit
    JDeveloper Team (guest) wrote:
    : Sujit,
    : I assume that you have access to the OAS jars needed to compile
    : this file (refer to the "Building Java Applications for OAS"
    : guide in the helpsystem for details).
    : Also, try deleting the dependecy files in your
    : myclasses/your_package directory .
    : Regards,
    : Sujit Hazra (guest) wrote:
    : : Hi,
    : : The error is still there.
    : : I have tried as you suggested.That brought me the code of
    : : java.lang.Class and also found that method as you
    : mentioned.This
    : : means my libraries are properly installed.
    : : The following code is taken from the HTML-Java Wizard
    generated
    : : file:
    : : private HtmlPage makePage() {
    : : HtmlPage hp = new HtmlPage(new java.io.File(filepath +
    : : java.io.File.separator +
    filename));
    : : for(int i=0;i<WRB_tags.length;i++) {
    : : try {
    : : hp.setItemAt(WRB_tags[0], new SimpleItem(
    : : this.getClass().getDeclaredMethod(
    : : "get"+WRB_tags[i][2],null).invoke(this,null)));
    : : catch (java.lang.Exception ex) {
    : : hp.setItemAt(WRB_tags[i][0],
    : new(SimpleItem(WRB_tags[i][1]));
    : : return hp;
    : : I didn't change anything on that.What else should I do?
    : : waiting for your early reply in this regard.
    : : Thanks
    : : - Sujit
    : : JDeveloper Team (guest) wrote:
    : : : Sujit,
    : : : Test this:
    : : : Bring up JDeveloper
    : : : Press Ctrl / - Control key and the Slash key
    : : : Type in java.lang.Class
    : : : This brings up the code for java.lang.Class
    : : : If it does not, then somehow your libraries
    : : : are not properly installed for JDeveloper to find
    : : : (see IDEClassPath ).
    : : : Otherwise, there you should see many methods including:
    : : : public Method getDeclaredMethod(String p0, Class[] p1)
    : : : throws NoSuchMethodException, SecurityException {
    : : : // implementation not available
    : : : Also note: Your spelling for Class should be
    : : : java.lang.Class
    : : : - JDeveloper Team
    : : : You can browse the class
    : : : Sujit Hazra (guest) wrote:
    : : : : I have created a java file using HTML-Java Wizard.
    : : : : when compiling the java file it gives an error
    : : : : method getDeclaredMethod(java.lang.String,null) not found
    : in
    : : : : class in java.lang.class
    : : : : can anyone tell me how can I remove the error ?
    : : : : waiting for your early reply in this regard.
    : : : : Thanks
    null

  • Create a web service from java bean and map exceptions to SOAP faults

    Hi,
    We have to expose our Session stateless EJB3 as web services. I've tried to use annotations and jdev wizard "java bean to web service" and it works fine.
    Our problem now is that our methods can throw a business exception that contains a list of error message strings to be presented on the client.
    I did not find any way to use annotations to make it build a wsdl with soap fault mapped to our exception class. Neither I could to make the wizard to create wsdl with faults.
    As we are exposing already designed and implemented classes as web services, I think the bottom-top (java->wsdl) approach is better that top->botton (wsdl->java). Therefore, I'm looking for a possibility to generate the web services from the java beans and have the exception be mapped to a soap fault message.
    We are using jdev 10.1.3.1 and OAS 10.1.3.1., is there a way to map exceptions to soap faults using bottom->top approach?
    thank you

    A couple of links that may be of help:
    http://www.netbeans.org/servlets/ReadMsg?listName=nbj2ee&msgNo=1218
    My last question concerning web services:
    I have already written a session bean and I'd like to add some methods
    as a web service to it, how do I do that?
    Or I can only create another bean for a webservice and cannot modify the
    original one?You might create web service with existing sources and select you bean. New web services with appropriate lookup method will be generated.
    All web service method, that will be exposed in web service, you
    should add itself (Pop-up menu Web Service -> Add operation)
    http://usersguide.netbeans.org/files/documents/40/73/Chapter9-WebServices.pdf

  • Making a java prm a .exe

    hello
    am a student. i 'd like to know how to make a .java file a .exe??? wat is java.exe and javaw.exe?? r those to be imported??

    hello
    am a student. then you are supposed to learn
    http://forum.java.sun.com/thread.jspa?threadID=602257&messageID=3234752#3234752bad student

  • Java Wizard Component

    I had done a lot of searches here and around the net to find a Java "Wizard" Component to use, but unfortunately I wasn't able to find one as easily as I wanted. I did find other forums, were people would offer their own through email, or a couple of times I found a link to a magazine article which touched on the subject. Unfortunately, I was not very happy with either of these as a solution, and I was unable to find any other libraries that were robust enough for my use which were not proprietary.
    So ... (long setup, I know) I have decided to implement a Java Wizard Component and make it available to the public through an LGPL license. It can be found at http://jwizardcmponent.sourceforge.net/
    I welcome suggestions and critiques from anyone, so please let me know if you would like to see something added/changed.
    Sincerely,
    William Ready

    This thread appears same as thread ...
    PJC Wizard missing from 10G ?
    Excuse duplicate posting but Im desparate for an answer...
    Section of Oracle Developer Suite 10G Release Notes
    available at
    http://download-uk.oracle.com/docs/cd/B25016_02/doc/dl/core.htm
    states
    4.2.3 PJC Wizard Now Part of Oracle Forms
    With Oracle Forms 10.1.2 and higher, the Forms PJC Wizard is part of the
    standard Forms installation. The PJC Wizard works with JDeveloper 10g (10.1.2)
    that is part of Oracle Developer Suite 10g. For versions of JDeveloper that are
    obtained from OTN, the PJC wizard is available as a separate Jar file to
    download and place into your JDeveloper installation.
    Anybody know where to get this PJC wizard jar file and install instructions?

  • How to interchange data between Java Program and C++ Program

    I constructed a java program using netbeans IDE that has ability to connect with a respective DLL; I want to connect and interchange data between my java program(.jar) and VSC++ program(.exe) through DLLs.JNI uses single Dll to invoke C/C++ function in native manner,In order to increase the efficiency I tried to connect and interchange primitive data types between Java program and C++ program using that DLL(JNI implemented).
    Unfortunately C++ program cannot obtain data values that has been changed by Java Program.For example - If I declare a global int variable in DLL,java program can catch that int variable and can update it but If I run my C++ program(exe) loading same DLL simultaneously it cannot receive the updated value of that int variable declared in the DLL.
    Therefore I need a solution to share/Interchange at least primitive data and their respective values between a JAVA and C++ Program using JNI (in spite of date transferring through Sockets).JAVA TO C/C++ & C/C++ to JAVA using DLLs.
    (TWO WAY COMMUNICATION)
    JAVA.jar  <=> <JNI> <=> DLL <=> [Connector Program C/C++] <=> C/C++ .exe
    PLEASE HELP ME!! THANK YOU

    What in the are you trying to say? What does "filled into the servlet mean?" Is the map somewhere outside the servlet? In a different process? Are you asking how to extract data from a map? Something else?
    Sorry, but your question makes no sense.

  • Whats is difference between Java JRE  and  Java SDK

    Hi,
    what is the difference between Java JRE and Java SDK...
    i think both of them have the same set of files to be installed...
    I am not able to understand where they differ

    The JRE (Java runtime Environment) contains just the stuff necessary to run Java and the SDK (System Development Kit) contains the extra stuff necessary (and also helpful) to develop in Java.

  • Java SSO and IIS

    This is a repeat of this post: Java SSO and IIS
    Noone answered there.
    Hello,
    my organization uses Java SSO authentication in Oracle Application Server. Now we want to "expand" SSO so that our IIS applications can benefit from Oracle SSO and user needn't print user name / password again. Is there any way to use Java SSO in IIS? In this project we use Java SSO, not Oracle Identity Management.
    Thanks in advance

    Hi ,
    I was installed and configured policy agent successfully.while i am trying to access the application url i am getting following error.
    I am using IIS6.0 and access manager 7.1.
    Error 2824:15b9918 AuthService: AuthService::processLoginStatus() Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp.
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyEngine: am_policy_evaluate: InternalException in AuthService::processLoginStatus() with error message:Exception message=[Application user ID is not valid.] errorCode='107' templateName=login_failed_template.jsp and code:3
    2009-03-10 00:03:05.828 Warning 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) denying access: status = Access Manager authentication service failure
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: am_web_is_access_allowed(): Successfully logged to remote server for GET action by user unknown user to resource http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html.
    2009-03-10 00:03:05.828 Info 2824:15b9918 PolicyAgent: am_web_is_access_allowed()(http://fcs-ylwkuzfoz1q.ramesh.com:99/website.html, GET) returning status: Access Manager authentication service failure.
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: HttpExtensionProc(): status after am_web_is_access_allowed = Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Error 2824:15b9918 PolicyAgent: HttpExtensionProc(): status: Access Manager authentication service failure (3)
    2009-03-10 00:03:05.828 Debug 2824:15b9918 PolicyAgent: OnSendResponse(): HTTP Status code is 500
    can any one please help me to resolve this.
    Thanks
    Ramesh Kumar GV

Maybe you are looking for