How to deploy jar to non-java platform

Hi,
I am using netbeans 5.5 to develop some GUI application.
I need to deploy it to some machine that may not have jdk installed at all. i.e can someone run my application w/o install jdk or jre specifically?
I have myapp.jar built in dist/ folder. the readme said it will include all jar to dist\lib, but I don't even see the dist\lib folder.
please help!!!

Thanks!!!
For now How can I make one executable that include
both myapp.jar and the jre? So that users only need
one click and the program runs?With a lot of effort, and I'm not sure it would actually be legal anyway. Just get 'em to install a JRE, it's not like it's difficult, no more so than installing any other program

Similar Messages

  • How to run .jar on linux & how to create .jar file using java?

    hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
    thanks in advance.

    Look at the manual page for jar:
    # man jar
    Also you can run them by doing:
    # java -jar Prog.jar

  • How to run JDeveloper on non-windows platforms?

    I downloaded the base install package from http://www.oracle.com/technology/software/products/jdev/htdocs/soft11tp.html and unzipped the resulting package. It seems to have Windows .exe files in it and not shell scripts or pure Java.
    How does one launch JDeveloper from this package on Linux or OS X? Or is there an alternative package somewhere to look for that is intended for use on non-Windows platforms?

    Alansil,
    The [url http://www.oracle.com/technology/products/jdev/htdocs/11tp/install.html]install guide has specific instructions for both Linux and OSX.
    You may also be aware - the JDev 11g ADF version is going to be released within a week or so (announced at OOW)
    John

  • How TO DEPLOY JAR FILES INTO XI Server using SDM

    Hi XI Gurus,
       im working on adapter development. we have created jar file in NWDS.
       now going ahead to deploy into XI server through SDM.
       can we deploy jar files directly into xiserver through SDM. or it needs to convert to any other formate like EAR, SDA. then how would i convert to SDA.
      i any have clear idea on this... pls throw the ways how to convert........
               JAR File to EAR format
               JAR file to SDA format
               EAR file to SDA format         
       can any one explain the procedure step by step how to convert jar file into deployment archive file in order to succesfully into XI server.
              thanks  i advance. points will be rewarded.
      Regards
      Rajesh

    Hi Rajesh,
    JAR file in itself in not deployable.
    So v need to envelop this jar file into an EAR file and then v deploy this EAR file on SDM.
    Creating Jar
    Inside NWDS --> Windows --> Open perspective --> J2EE Development --> right click on ur proj --> Build EJB Archive
    Converting .EAR file to .SDA
    Converting .EAR file to .SDA
    Regards,
    Prateek

  • How to deploy *.jar in WebLogic by Hudson and WLST

    Hi everybody!
    I have the server (hostname - server0), where:
    1. Developers works. He create the build JAR-files and put this file in special local directory:
    /home/build/test1/jar/ - jar-file for test envorement 1 of weblogic (hostname - server1)
    /home/build/test2/jar/ - jar-file for test envorement 2 of weblogic (hostname - server2)
    2. I have the directories with WLST scripts for deploing the build JAR-files:
    2.1. Script files for deploing the jar-files in test envorement 1 of weblogic (hostname - server1)
    /home/build/test1/scripts/deploy.sh
    /home/build/test1/scripts/deploy.py
    2.2. Script files for deploing the jar-files in test envorement 2 of weblogic (hostname - server2)
    /home/build/test2/scripts/deploy.sh
    /home/build/test2/scripts/deploy.py
    3. Hudson (Hudson ver. 2.1.2) is intsalled.
    Could you please tell me, how to automatic deploy *.jar in WebLogic by Hudson and WLST, if take into consideration the email-notification about problem in deploing?

    I've never used WLST inconjunction with Hudson.
    What I have done is use Maven to do this.
    We have a WebLogic Server Maven Plugin which can perform deployment operations.
    Hudson has support for Maven, so you create a Maven project which does the deployment from the project and configure a job using that on Hudson -- if you can get your developer to upload their artifacts to some form of SCM system so Hudson watches for the changes, grabs the new file and does the deployment, that would work.
    If you want to use your scripts, then you could perhaps use the Hudson SSH plugin which can execute "shell" scripts on a server. Theoretically here you would create wrapper shell scripts for your WLST execution/script, then configure a Hudson job which executes the scripts. I've never used the plugin so not sure how it is activated, but you could configure a job to run on a periodic basis, and have the wrapper script itself do the check to see if the directory contains a jar/ear file to deploy -- if it does, execute the WLST scripts; if not, simply return.
    Let us know how you get on!
    -steve-

  • How to deploy jar file in WLS using ant script

    Hi,
    Im trying to deploy a jar file in weblogic 10.3 using ant script and am running into the below error.
    +[wldeploy] weblogic.management.DeploymentException: [J2EE:160177]The application at "/u01//RSJBObjects.jar" was not recognized as a valid application type. If this is an EAR file, please ensure the META-INF/application.xml exists. EJB-JARs should have a META-INF/ejb-jar.xml or corresponding annotations exist. If this is an exploded WAR, the name of directory must be end with ".war". RARs require a META-INF/ra.xml. A JMS deployment should be an XML file whose name ends with "-jms.xml". A JDBC deployment should be an XML file whose name ends with "-jdbc.xml". For other application types, please consult the WebLogic Server documentation.+
    When i try to deploy the same manually from the console, i get a warning stating that WLS thought this as a library and hence proceeding to deploy as a library. After this warning the deployment continues and completes.
    Problem is when i try to deploy using ant, it breaks at this point.
    Is there any means that we can deploy a jar to WLS using ant script. This has to be deployed as a library as other apps would be using this jar.
    Im unable to create a ear file for this single jar file.
    If there is any suggestion on can this be done, please share.
    Thanks,
    Vijay.

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

  • How to deploy jar file in ebs12?

    hi, now I want deploy a jar file in ebs12.
    for example, my oaf code using jdom to parse xml file. so I need to deploy jdom.jar
    into ebs12 server.
    Where shall I put this jdom.jar.
    Does I need change some configuration.
    btw, in ebs11i, I can change Jserv.properties to support this.
    thanks
    tamsun

    Hi Sunil,
    Thanks for the reply, it worked.
    Another doubt on the same lines. Now that the jar has been deployed as a library in WLS, when i try to deploy a WAR which refers to this deployed jar library, im unable to. I run into and error stating that the library is inaccessible.
    I have to bounce the server and before doing that, i have to manually copy the library.jar from <WLS_domain>/servers/AdminServer/upload/ directory to <WLS_domain>/lib/ directory, once copied i then try to deploy the WAR, then the deployment goes fine.
    Is there any means that this deployed library jar be made available soon after deployment and also to avoid copying the file.
    Thanks,
    Vijay.

  • How to run a java program in a non-java platform

    Hi,
    Need a help...
    I have created an application written in JAVA. I have converted the class files into .exe file using JEXEPACK.
    It's working fine everywhere if JAVA is installed. But not working in a machine where JAVA is not installed.
    Is there any way to create exe file from the class files so that it would be run on any system irrespective of JAVA installed.
    Thanks in Advance,
    Ujjal

    Ujjal wrote:
    Hi,
    Need a help...
    I have created an application written in JAVA. I have converted the class files into .exe file using JEXEPACK.
    It's working fine everywhere if JAVA is installed. But not working in a machine where JAVA is not installed.Right! Just like CD's and DVD's don't work very well without a CD or DVD player.
    Is there any way to create exe file from the class files so that it would be run on any system irrespective of JAVA installed.Simple answer, no. However, you can compile x86 or potentially run directly on some Java hardware implementation, but I doubt you really want to do this. What's the problem with simply installing Java?

  • How to deploy jar file for use within mapping user-defined fcn

    Hi all,
    I have a java class I'd like to called from a mapping user-defined function.
    Here's what I've done (but hasn't worked)
    1. Added 'package com.<mycompany>.xi.util.base64 to the source class file and compiled it.
    2. Created a sda with a plain provider.xml file, i.e. no references were made to any other library files.
    3.  Deployed the sda to the xi 3.0 j2ee server successfully using SDM.
    4.  Under the Visual Admin tool, I see that the library was deployed successfully.
    5.  In the import text box in the user-defined function (design time), I enter com.<mycompany>.xi.util.base64.*.
    A syntax check returns an error indicating the package could not be found. 
    Can anyone give me pointers as to how I can get this working?
    Thanks,
    --jtb

    Hey James,
    No! That's not the right way!
    What you have done is for accessing external JMS & JDBC drivers in their corresponding adapters. For the access inside a mapping user defined function, it's enough if you import the jar files.
    Look at this blog and you will be very clear!
    /people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
    regards,
    Felix

  • How to deploy JAR as a Web Service

    Hi,
    I am new to BPEL and interested in building Web Services using BPEL. For this I am using Oracle BPEL Process Manager(JDeveloper).
    I have a standalone Java application (which I run from command prompt) and ant script which generates the JAR file. Can I deploy this JAR as a web service using Oracle BPEL.
    I have seen the examples given by Oracle BPEL and it was mentioned that using WSIF we can create WSDL file for our java class and call this WSDL as a partner link in my BPEL process. But how should I replicate it to my application.
    Can you please direct me in proceeding further.
    Thanks
    /Kiran.

    Hi,
    This is a forum for BI Beans questions - your question seems to be purely related to ADF and BC4J, not to BI Beans..

  • How to execute jar file in java project

    hi,
    i have made a proj in java in which i have put all my files in a jar file.
    can somebody help me how to execute this jar file??
    thanks

    u can put that jar file in ur class path,,
    regards
    shanu

  • How to add jar library in java?

    Hi,
    I am Anil,
    Could it possible to add library in Java library?
    like java.io.DataInputStream is library in Java (JDK), so I want to add my own library in Java JDK.
    I have created a package net.jini.j2space and one interface in it J2Space, I have created jar of this.
    and now I want to this jar to Java library so I can import it in my projects.
    Please help me.
    Thanks in advance.

    Hi, I am Zander Smith and I want to share my story with you. I am a sport star in my community, I am known for my football skills. I had a very healthy physique because I used to do almost 4 hours of daily workout. One day it was raining heavily and I was busy playing football with a nearly club who challenged our team. While playing I hit my leg on the goal post and broke my leg. I came out of hospital after three months. Since I was on complete bed rest I gained 35 pound. I had lost my athletic shape. I was very upset with my bulky body and I wanted to have my old shape back at any cost.
    I started to work out. As I was restricted by doctor to do rigorous work out, it did not help me the way I wanted. After a month one of my friends suggested me [Acai berry|http://ezinearticles.com/?Acai-Berry---How-I-Lost-30-Pounds-in-Under-30-Days-Using-The-Acai-Berry&id=1998407] . I thought that my workouts are enough for losing my weight, but I was impatient. I took all the information about this product and I found it useful. I purchased Acai Berry Supplement and used it. Now it is like a dream come true, I have come back to my earlier shape. Thanks to Acai Berry now I am living my life as I lived before. [Acai berry|http://www.goarticles.com/cgi-bin/showa.cgi?C=1829429]

  • OpenScript/How to add .jar file to Java Code in relative path

    Hi all,
    I want to add a .jar file which can be executed separately (like "java -jar A.jar") to my recorded Java Code.I've read this wiki http://everest2.us.oracle.com/wiki/Generic_JAR_Project about how to add a .jar file to "Assets", however, I cannot figure out how to use the .jarr file in Java code,I mean , how to get this .jar file like the method the databank added in "Assets"?
    Things I did are as followed:
    1.Execute my .jar file in OpenScript Java code with absolute path like this:
    String cmd = "C:\Users\A.jar";
    Runtime.getRuntime().exec(cmd);
    This does work, but must set a absolute path in Java code like "C:\User\A.jar" ,which is not the workaround I want (I need my scripts can be run on other machines).
    2.Try to get its current path with following codes:
    File directory = new File(".");
    String currentPath=directory.getCanonicalPath();
    However,though this can get its absolute path (which is the the project path) in Eclipse like "C:\Users\Workspace\testProject", this only gets "C:\OracleATS\openScript" in OpenScript.
    I thought to copy my .jar file to the project path , got its current path in java code first,then can know the path of .jar file, but this workaround failed because of the above reason.
    I notice that in the "Assets" there are "Databanks","Object Libraries","JAR Files","Scripts". Since the databanks and scripts that added to "Databanks" and "Scripts" can be got or run in Java Code like:
    *getDatabank("DatabankName").getNextDatabankRecord(); String data = eval("{{db.DatabankName.data}}");*
    *or getScript("ScriptName").run();*
    *Is there a method to get and run the jar file added to "Assets\JAR Files" like the above?*
    Thank you very much!
    Regards,
    Angyoung

    Hi DM,
    Thanks for your reply!
    I've found a workaround,which is calling OpenScript's APIs ,such as this.getScriptPackage().getRepository() and this.getScriptPackage().getWorkspace(),etc to locate the .jar file.
    And this workaround can still work even though the script is run on other machine.
    Sorry to reply you so late!
    Regards,
    Angyoung

  • How to deploy jar file into oc4j

    Hi,
    I am new to jdeveloper.
    I deployed a application as .ear file by creating new coneection from the Connection navigator which is having web, ejbs amd client progrms. I dont have any problem with that.
    But for my feature modification on my ejbs or client programs, i want to deploy only its related jar file in the existing application in the server. But when i try to do the same, the client module or ejb module is deploying as new .ear file in to the server insterd of .jar file.
    How to overcome this in jdeveloper?
    Thanfully,
    Satish KC.

    I consider complete EAR deployment as a feature, because you can build self-contained versions, archive them and redeploy them in case of support situations.
    However, if you like to develop in incrementally you can run, test, show your complete application within JDeveloper. No extra deployment is necessary for that.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to access physical files from java platform

    Hello All,
    We have one JDE Word Writer program, which export the order master data in the DB2/400 Physical files.
    We want to access this data from our java program (reside on windows platform). I am wondering how we can do that. I got one hint that can be accessed by ODBC connection. But I am unable to get the correct ODBC driver. I am looking for correct driver to access the data.
    If some one has done this already, please help me. Or suggest me any alternate way.
    Dinesh

    Can use File class to write code to examine and manipulate file.
    Tutorial: http://java.sun.com/docs/books/tutorial/essential/io/file.html

Maybe you are looking for

  • Auto update of OC4J xml configuration files with JDev

    When using JDeveloper with source control (such as ClearCase), Is there a way to configure JDev to prompt the user to check-out the ejb-jar.xml, orion-ejb-jar.xml, web.xml, or application.xml files when JDev needs to update them but finds them to be

  • HT1338 why is my keyboard not responding accurately?

    Why is my keyboard not responding??

  • Adobe CS3 Auto-Updater is crashing

    Since the install of Leopard, when Adobe Updater tries to start (which is just about every time I try to run the Bridge or PhotoShop) it looks like the Auto-updater tries to start and then crashes with a message to send to Apple. I have tried going i

  • Blinking Globe at Start-up

    there is a blinking globe at the startup of my MBP. It seems that it is slowing down my startup time. What does this mean? Thanks alot, Max

  • My 6101 can't get network's signal faraway from th...

    Hello dears I'd like to tell you about a strange problem found in Nokia 6101 It's about the dealing with network . The GSM network is got very well in quarter that I live in Erbil city ( at Ankawa town ). But when I go to another quarters in the same