Whats up java jar wizards?

I have the file heirarchy set up like this:
java
  |
  |____ dist
          |
          |____projectin the java folder I have the "dist" folder
in the dist folder I have my source code
in the project folder I have 2 jar files, a readme file and html file
What I want to do is put a jar file in the java folder that will jar all the rest of these files to send over email.
How do I do that?
I have tried jar cvf main.jar -C dist/
didn't work
any responses would be helpful
TY

I am not a wizard, but I would think jar -cvf
yourJarName.jar dist executed from within the
java sub directory would work for you.
Good Luck
LeeYou under estimate yourself young classhopper.
thank you for your help, I kept putting: jar cvf myjar.jar dist/
where I shouldn't have put the"/" on
Thanks again

Similar Messages

  • Java Jar files, and what is needed to run them?

    I'm sort of confused on what happens with JAR files, because on my computers that have all of the java SDK's and programs installed it works as an executable. But on my computer that doesn't have java installed(except for the windows xp basic) it wont work or registers with winRAR.
    My question is, is what needs to be installed on the computer to get an executable jar file to work. Is it JRE, or the SDK? And where can I get the file/s that may be needed to be installed.
    Thanks for the help

    jre stands for java runtime environment, i.e. everything you need to run a java application on your computer.
    sdk stands for software development kit, i.e. everything you need to develop java applications
    the jre run jar files for sure

  • BPM 11G : Business Catalog : Java JAR Files

    Folks,
    We have invested a lot of effort & time in developing Business Processes in ALBPM 6.5. One of the critical features in ALBPM 6.5 was the Business Catalog - if I had a set of Java Utility Classes bundled in a JAR Archive, I could " catalog " it & reference & reuse the classes via the PBL Code.
    We are now evaluating our Migration Approach to Oracle SOA 11G & we have a few questions :-
    1. Does Oracle BPM 11G also have the facility of directly " cataloging " Java JAR Archives ?
    2. If no, what is the best approach, in your viewpoint, to migrate business logic that is present in many such JAR archives.
    We are looking at abstracting the business logic in Web Services - however, the ideal path we are looking at is to retain our investment in the Business Catalog JAR Files.
    Please do let me know your thoughts & opinions.
    Thanks in advance,
    Sandeep Seshan

    There are 2 options you have:
    1. If you access the java code from within a BPEL process instead you can use the java embedding activity to call these classes directly.
    2. You expose your java classes through a spring context and use the spring component to expose the required classes as services within your composite which you can wire directly to your BPMN process.
    Thanks,
    Adam DesJardin

  • Error while running (java -jar orion.jar -install)  Need yr help ?

    Hi,
    I have
    Win 2000 Professional
    Oracle 9i release 1and have the Pre-Requisites of MapViewer as follows.
    OC4J_extended (Pre-Requisite for MapViewer)
    XML Parser (Built-in OC4J)
    Oracle 9iI don't know whether I have Oracle Client or not which is also pre-requisite for MapViewer ? I think it is built-in with any of the above... most probably with Oracle 9i !!!
    I have JDK1.3 as wellI have Oracle9iAS release 1.0.2.2.2a, but I don't want to use it, as I have OC4J standalone...
    I want to have the configuration, for using Oracle Spatial/MapViewer.... How can I do that ? I need steps/procedure...
    I am having problems in configuring OC4J which I have downloaded. I have unzipped OC4J_Extended in Oracle 9i Database home directory (not in Oracle 9iAS home directory... because I dont have installed iAS)
    Its installation guide asks for installation through the following command
    java -jar orion.jar -installbut after unzip, I don't get any file named "orion.jar"
    What should I do ? Where am wrong ? Should I have to use 9iAS for using MapViewer in any case, if so which version ? I need the heirarchy of steps ?
    I m really stucked !!!
    Any help would be highly appreciated.
    Thanx
    Zaaf.

    Hi,
    If you are just using OC4J, you should only need to do:
    java -jar oc4j.jar -install
    Also note that you should not install oc4j in the oracle_home
    directory. If/when you upgrade oracle to apply patches, etc
    it will overwrite/cause problems with your oc4j install if you
    put it in the oracle_home directory. Put it in any other directory.
    The only part of Oracle9iAS needed to run mapviewer is oc4j.
    After that is installed, then follow the instructions in the MapViewer
    User's Guide (available on OTN).

  • How to import custom java jar/class into oracle to be used in java proc ?

    Hi
    I would like to know how to import custom java jar/class files into oracle to be used in java stored procedure.
    I am developing a oracle pl/sql procedure to call java program. The java program will be created as procedure and will be published.
    But, my question is that I do have a other external jar/class file that need to be imported into this java program.
    example
    raise_sal.java
    import java.util.*;
    import oracle.sql.*;
    <<reference other java programs >>
    import cmpmsgsvc.xxxx.* ;
    import cmpmsgsvc.yyyy.* ;
    import cmpmsgsvc.zzzz.* ;
    how do I import the cmpmsgsvc jar/class file into oracle so that I don't have any
    compilation errros on raise_sal.java program ??
    what are the steps to import/compile and validate to do this?
    thanks for your help in advance.
    Thanks
    rrb.

    Kuassi
    Problem is that, I have 6 jar files that are needed to be included in the main java program. And, there are more than 50+ classes, propertiers in those 6 jar files.
    It might be not good idea to have all those 50+ classes in the production database.
    Is there anyway that I keep all those 6 jar files in unix box (our's is oracle erp installation with oracle being installed on unix box) and just refer them in the main java program. I mean database will be loaded with main java program and it should able to refer other 6 jar files from unix.
    if we create a directory and keep all jar files in there and include that directory in classpath variable, does this works? or what is other method?
    Please let me know.
    Thanks

  • Java -jar -myApp.jar works but ....

    Hi there,
    I have a problem : using ant, I have exported my application into an executable jar file.
    When in the console, I type "java -jar myApp.jar" . Everything works well.
    But if, I do double click on the jar file, nothing happens. In fact, I can see a new Instance of javaw.exe in the "task manager" but nothing happens.
    It's kind of weird ...
    Has anybody an idea about that ??
    thanks in advance
    sylvain_2020

    I am having a similar problem.
    java -jar foo.jar works great, but double clicking seems to hang the app at a certain point.
    Unable to figure out what's going on, I've been putting some "JOptionPane.showMessageDialog()" calls to see how far it's getting. It appears to be hanging up when it tries to instantiate one of my classes that extends JPanel. I have a dialog appear right before calling the constructor (and I see that one), but I don't see the dialog that's in the constructor as the first executed line (so that it must hang up somewhere before that). I've also removed all constructors from the attribute declarations. That made me think it had something to do with the constructor of JPanel, over which I have no control.
    However, I can instantiate JPanel no problem.
    What the heck is going on???

  • Java -jar NewOW.jar

    Hello!
    I get an error when trying to run my apps jar ...
    Directory of F:\Documents and Settings\Richard\NewOW\dist
    01/17/2006  07:38 PM    <DIR>          .
    01/17/2006  07:38 PM    <DIR>          ..
    01/17/2006  07:38 PM           595,646 NewOW.jar
                   1 File(s)        595,646 bytes
                   2 Dir(s)  46,755,405,824 bytes free
    F:\Documents and Settings\Richard\NewOW\dist>java -jar NewOW.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: org/jdesktop/layout/G
    roupLayout$Group
    F:\Documents and Settings\Richard\NewOW\dist>I dont know what I need to check from this error
    runs fine in the IDE
    Thanks!

    Just as reported, Java can't find
    org/jdesktop/layout/GroupLayout$Group because
    you aren't providing it. You must place a copy in
    your NewOW.jar and create a Class-Path: entry in the
    manifest file.
    If your're going to use NetBeans, you really need a
    good understanding of classpath and jars, and what
    the IDE will do, and what you have to do.
    If you replace your NB beta version with the RC1
    version, it will do more for you.Running RC1 now ..... and jar run just great without me changing anything!

  • What are the Jar Files required in  J2EE?

    What are the jar s required to work with JMS, Java Mail API and Web Services. (Complete J2EE).

    Depends on your app server. So check with app server

  • Trouble getting java install wizard to work with 3rd party software

    Hi,
    I just installed Java 2 SDK version 1.4.2 under Solaris 8. The installation appears to be fine. I changed
    the links and PATH to make sure I'm pointing to the correct version. I am trying to install a 3rd party software called Powerchute Network Shutdown by APC, to be able to shut down our servers remotely, that are attached to our APC UPS. I get these error messages from the software:
    starting the wizard
    Exception in main calss "JExpressLoader"
    java wizard not started properly
    unable to start the install wizard
    Tech support at APC has been unable to help me. I am wondering if someone can tell me how to verify my java wizard is installed correctly. (I don't even know what a java wizard is by the way, so hopefully
    this question makes some sense to someone).
    Thanks.
    -Trish

    You need Xwindow System in your sun.

  • When using java -jar does -cp have any significance?

    So we have a classpath that's set from the Manifest but I want to augment that with -cp
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.

    >
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.>No. The -cp option is ignored when using the -jar option.
    So if you do something like..
    REM: old way of launching
    REM: java -jar the.jar arg1 arg2
    java -cp the.jar;...;another.jar the.main.class arg1 arg2..it should work as expected.

  • Distribute Java jar application in Optical Disk with private JRE

    I am trying to ship my Jar application using DVDs and need the user just to run an exe and launch the program. So I have written a batch file which runs the jar using the private JRE shipped in the same DVD.
    Now when I run the batch file from the DVD it takes over one minute to launch the application because JRE is in the DVD as well.
    When I copy the JRE in hard disk and use that in my batch file to lauch the program it runs fast. However I wouldn't the path where the user copies the JRE in his hard disk. How would I detect the same in my batch file ?
    Even Launch4J takes same time as batch file.
    If I anyway have to ship JRE and ask the user install first ,how does batch file know the installed jre location if JAVA_HOME is not set. it would start using the jre in DVD and slow down. Anyway to make sure JAVA home is set to begin with ? May be 1st time if Java home is not set it copies to jre to C drive and then next time onwards it launches using the same Java home? What do you suggest
    [cross post |http://stackoverflow.com/questions/13372969/distribute-java-jar-application-in-optical-disk]
    Note I am using JDK8 , which is only developer preview now am I allowed to ship it in my DVD ?

    I wouldn't do that. Even if it is allowed, which I doubt, you're shipping unfinished and potentially dangerous software. I would also stick to the runtime only if I were you.I know, Sorry I meant shipping JRE only not JDK.
    My answer to your main question is: yep, its a tough problem and you're not going to crack it without special measures. One such special measure is to generate an installer using one of the many installer generators you can >find with Google.Yes I thought about installers but it would copy my jar and resource files to hard disk which I don't want to avoid piracy. Is there any way to access the rest of the files from DVD directly ?
    PS. My DVD vendor promisssed that he would burn them such a way that whole thing can't be copied to hard disk or imaged, I am yet to verify this.

  • Help with running java .jar file

    Hi I just installed java with
    # pacman -S jre
    and when i try to run
    java -jar file.jar
    it says command not found. so what do i need to install to be able to run java .jar files through the CLI?

    do, what vintendo says. because it cant find the java in the default paths.

  • What is a jar file

    hello
    i'm a recent oracle developer.
    i hear about jar files
    what is the jar file and how can i create it
    thanks

    As far as forms on the web is concerned- the Jar files you come across : like f90all.jar is basically a zip file of java classes - each java class is responsible for drawing a screen item (like a button or a text field).
    Regards
    Grant Ronald
    Product Management

  • Opening a java jar file through a labview program

    Hello,
    I need to open a java jar file in labview........this jar file is a GUI with multiple frames and has buttons on each frame help navigate through between frames....i just require the program to open it and close it based on some signals so then i won't have to do it manually

    LabVIEW doesn't have any control over what happens in a system exec, as you give the control to the system. You can, however, check the process list through .NET commands and kill the process (You should be able to stop it through "taskkill /F /im java.exe"). Not the prettiest solution, but should work.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Error when testing java -jar whitelist.jar -help

    I found an error when executing this commande
    C:\oracle-javacloud-sdk\lib>java -jar whitelist.jar -help
    Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/cloud/
    scanning/cli/ScannerMain (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    what can be the origine of this error
    Thanks

    Try using JDK 1.7 - (version 51.0) as I have no problem running with 1.7.0_21
    /michael

Maybe you are looking for

  • Vendor field needs to be made in display mode in MIRO

    Hi, The PO was created for Vendor 'A', whereas invoice was wrongly posted to Vendor 'B'. Before noticing it, the vendor has been paid. Now the user wants to reverse the same and redo it to correct vendor. How we can restrict manual change of vendor d

  • New problem. I can not burn a playlist to disk.

    New problem. I can not burn a playlist to disk. The 'checking playlist' now takes about one second, looks very much like a malfunction here. Seems to initialize the disk - them moves straight into 'burning/finalizing disk' which also takes about one

  • Stretched image MacBook Pro Retina to 720p TV

    Whenever I connect my MacBook Pro Retina to my Panasonic HD Ready tv the entire image on the tv is stretched a bit vertically. It's not the gravest of problems but it is pretty **** annoying when watching any kind of video. All the heads and everythi

  • View on  vbuk,vbak,vbap,vbkd

    hi all ,         is there any view on vbuk,vbak,vbap,vbkd. Regards Martin

  • Ask for a design pattern

    Note: THis is a cross post at stackover . Got no answer ,so post it here. :) We are working on web application with a search model. In the search servlet it capture the request parameters from the client, and then build a hibernate-search query for s