Opening a jar file

hey all, i only have one class that i want to make a jar file. i make sure the msdos prompt is focused on the right folder, and i use the following command line...
jar cf writer.jar writer.class
it makes a jar file without any problems, but when i go to open the jar file, nothing happens. whats goin on? also, how would i go about creating a manifest file?

First of all, a useful tip: a JAR file is nothing more or less then a ZIP file, so you can use WinZip to open and edit it.
Second, you have to edit the manifest file in the created jar file. Open it with WinZip and add a line containting "Main-Class: com.test.TestClass", with offcourse your classname instead of "com.test.TestClass".
Then, last but not least, you have to open the JAR file with java.exe or javaw.exe. In windows (shift+)right click and select "open with". If you select the "always open with" checkbox, windows should remember that it has to open jar files with the particular exe. The difference between both is that javaw will not show a console, while java will.
greetz.
if it is not completely clear, let me know.

Similar Messages

  • How to open a .JAR file on the Z30

    Hi,
    Would anyine know how to open a .JAR file on the Z30?
    I get a message saying "Unable to open" when I click on the .jar file i want to open in my blackberry & install.
    Cheers
    Mario

    JAR files are for older java phones, they dont work on BB10
    maybe you should look into using SNAP to get some apps yoru looking for
    http://supportforums.blackberry.com/t5/Downloaded-Applications-for/You-Upgraded-to-OS-10-2-1-and-wan...
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Importing open source jar files

    Hi
    I have written a program, a Java application (Prog 1), which uses some opensource jar files and it runs fine.
    Now I am trying to create an applet (another program in same project) which will show the output from Prog 1 on a webpage.
    But when I try to do this, the applet does not get loaded into the browser and shows me the (ClassNotFound) error that a class file which is in the open source jar file cannot be found.
    why is this happening and what can be done?
    Please help.

    ... and what JAR is the class in, which it reportsas
    The jar file is htmlparser.jar, but this file is
    already added in the project classpath
    No it isn't. The run-time "classpath" is specified by what you put in the <applet> tag. It has nothing to do with the classpath you specified at compile-time. You need to add htmlparser.jar to the "archive" entity.
    archive="YahooExt.jar,htmlparser.jar"
    (if I have the correct separator, which I believe is a comma, according to this resource: http://java.sun.com/j2se/1.4.2/docs/guide/misc/applet.html)
    And of course htmlparser.jar needs to live on the web server, in the same directory as YahooExt.jar in the example above.

  • Opening the jar file in Jdeveloper

    Hi,
    I have a executable jar file of the BPEL process. How can I open the jar file in Jdeveloper in my local machine to do some enhancements. i have no source code with me. While i am trying to open in JDev.. The message parts are not being created and showing error messages with partner links.
    Could any one help me regarding this issue..
    very .. very.. urgent.
    Thanks,
    BPEL user

    Yes, i have unzipped and opened in JDeveloper. But exceptions are coming while validating. The exceptions are at the message parts and partnerlinks( asking the location of wsdl ). I have no .jws file.. Is it the problem?.
    Thanks,
    Bpel User

  • JInternalFrame not opening in JAR file, but works when not in JAR

    I have a folder that contains multiple .class files. I make all the class files into one jar file with this command:
    jar cmf mainClass.txt myapplication.jar *.class
    The mainClass.txt contains the following:
    Main-Class: myapplication
    class-path: myapplication.jar
    The myapplication.class opens up a JDesktopPane inside a JFrame. It also contains a start menu, which again has elements that opens up misc JInternalFrames inside the JDesktopPane. The problem is this:
    When I run the application from a .bat file, everything works fine. However, after making the JAR Executable file, everything works except 1 JInternalFrame. Now, the code for this JInternalFrame is far too much to post, so I'll have to ask as follows;
    Are there any reason why a JInternalFrame would not work from inside a JAR Executable, but work when not in the JAR file? Especially when other JInternalFrames are working? What can make 1 JInternalFrame different from the others in this regard?

    Perhaps the problem lies somewhere else.
    Obviously if other JInternalFrames are working then there is a difference in the one missing internal frame that causes it not to show up.
    My guess is that perhaps you are missing one or two classes in your JAR that are used by that JInternalFrame and that an exception is being thrown causing it not to show.
    Double check the contents of your JAR and make sure that all the classes are present and that they are the right versions.

  • Open another jar file in a frame

    Hello everybody,
    I have some programs that I made separately, and i want to make a parent program that the user can open them from it.
    I want them to open inside the parent not separately. Its like opening a webpage in an iframe in HTML.
    Is that possible, and how can it be done??
    Thanks for all help.

    If you want to launch an application from another Application subclass (say, MyApp), you can try the following.  This must be executed on the JavaFX Application Thread, and the jar file containing the application must be on the classpath. This is kind of an unusual way to reuse existing code: I'd recommend Abhinay's approach (expose the root container, or whatever you need, instantiate that, and then create your own scene and stage to display it if necessary).
    try {
         Application app = new MyApp();
         Stage stage = new Stage();
         app.start(stage);
    } catch (Exception exc) {
         exc.printStackTrace();

  • When I open Firefox I receive the following message on the open tab: jar:file:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/locale/branding/browserconfig.properties.

    I have been slowly loading more plugins and extensions for Firefox, as I found that I had a conflict and Firefox would freeze. Two (2) days ago I used Firefox Sync for the first time. After I rebooted my computer, I found that when I opened Firefox I receive this message "jar:file:///C:/Program Files/Mozilla Firefox/chrome/en-US.jar!/locale/branding/browserconfig.properties."
    I use Speed Dial as my home page and at the same time I received this message, Speed Dial stopped working, unless I click on the "open a new tab" button.
    I opened the container for the file listed above, and I show that the file is in the folder.
    I tried reinstalling Firefox in case there was a corrupt setting, however it hasn't helped

    Caused by the Firefox Sync extension. Reset your Homepage to Default.
    http://support.mozilla.com/en-US/kb/How+to+set+the+home+page

  • Opening a jar file using labview

    Hi,
    I want my labview program to open a java based jar file on my computer after some processing steps...there is no manipulation of the jar file to be done..It just needs to be opened...Anyone has any answers?????

    Hi Prathiksha,
    As GuenterMueller said, this forum subgroup is dedicated to Machine vision queries and not related to general software queries. Please post your query in Labview Forum or some other appropriate location.
    Coming to ur problem, infact even i've seen that java interfacing all those are really compicated and am afraid i dnt know about that.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • Can't open .jar file

    I'm running OS X 10.9.1 on a MacBook Air with the newest Java. For some reason, whenever I try to open a .jar file, it gives me a message saying "The Java JAR file... could not be launched. Check the console for possible error messages." How do I get it to run?

    You downloaded the wrong thing if you wanted jar.exe. The J2RE d/l is the runtime only package, and doesn't contain the developer tools.
    To download the current developer version of Java, go here:
    http://java.sun.com/j2se/1.4.1/download.html
    and click on the word DOWNLOAD in the column labeled SDK in this line:
    Windows (all languages, including English)
    After downloading, click on this page of installation instructions and read through #6:
    http://java.sun.com/j2se/1.4.1/install-windows.html
    NOTE: If you are installing on other than a standard 32-bit Windows system, go to this page:
    http://java.sun.com/j2se/1.4.1/install.html and choose the installation instructions for your system.
    Install the software according to the preceeding instructions

  • Can't open .jar file, says it cannot be launched, Help?

    I'm trying to download this mod for a game called minecraft. It involves opening a jar file to begin the installation, but everytime i click on the jar file it comes up with this message: The Java JAR file “YOGBOX Installer.jar” could not be launched. Check the Console for possible error messages.     I have checked the Console and there doesn't seem to be any recent messages. I have tried opening the file with a different application than the default Java launcher, but it doesn't open the installation window i need. Please help, i have tried all i could. Any ideas?

    This is what popped up after i typed all that in :
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
              at java.lang.ClassLoader.defineClass1(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
              at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
              at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
              at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
              at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
              at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)

  • JDeveloper 11.1.2.1.0 on OEL 5 can't open jar files and dies

    I have just installed JDeveloper on a OEL 5 VM, and when I try to open or create a basic application I get a series of errors claiming that that java could not open jar files, which ultimately ends in the app dying, claiming that it has too many open files. The failures below were generated using the wizard to create a brand new "Java Desktop Application (ADF)" application. I used all default values on installation, including the bundled Java SDK. I am trying to familiarize myself with JDeveloper in preparation for a new development project, and would like to use Oracle technology since Pillar is now a part of Oracle. Any help would be appreciated.
    uname -a:
    Linux az-devoelvm-01 2.6.32-300.4.1.el5uek #1 SMP Fri Dec 23 03:13:22 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    Below is the final failure:
    SEVERE: framework event org.eclipse.osgi type 2
    java.io.IOException: Too many open files
         at java.io.UnixFileSystem.createFileExclusively(Native Method)
         at java.io.File.checkAndCreate(File.java:1704)
         at java.io.File.createTempFile(File.java:1792)
         at org.eclipse.osgi.storagemanager.StorageManager.createTempFile(StorageManager.java:714)
         at org.eclipse.osgi.storagemanager.StorageManager.getOutputStream(StorageManager.java:776)
         at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveBundleDatas(BaseStorage.java:550)
         at org.eclipse.osgi.internal.baseadaptor.BaseStorage.saveAllData(BaseStorage.java:439)
         at org.eclipse.osgi.internal.baseadaptor.BaseStorage.access$1(BaseStorage.java:427)
         at org.eclipse.osgi.internal.baseadaptor.BaseStorage$StateSaver.run(BaseStorage.java:1219)
    And this is an example of the failures to open the jar files:
    SEVERE: framework event oracle.external.weblogic-script-runner type 2
    java.util.zip.ZipException: Exception in opening zip file: /home/earnett/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar
         at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:264)
         at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.basicOpen(ZipBundleFile.java:88)
         at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getZipFile(ZipBundleFile.java:101)
         at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.checkedOpen(ZipBundleFile.java:74)
         at org.apidesign.netbinox.JarBundleFile$1.checkedOpen(JarBundleFile.java:119)
         at org.eclipse.osgi.baseadaptor.bundlefile.ZipBundleFile.getEntry(ZipBundleFile.java:246)
         at org.apidesign.netbinox.JarBundleFile.findEntry(JarBundleFile.java:199)
         at org.apidesign.netbinox.JarBundleFile.resource(JarBundleFile.java:163)
         at org.netbeans.core.netigso.spi.NetigsoArchive$1.resource(NetigsoArchive.java:71)
         at org.netbeans.Archive.getData(Archive.java:199)
         at org.netbeans.NetigsoFramework.fromArchive(NetigsoFramework.java:130)
         at org.netbeans.core.netigso.Netigso.fromArchive(Netigso.java:461)
         at org.netbeans.core.netigso.spi.NetigsoArchive.fromArchive(NetigsoArchive.java:101)
         at org.apidesign.netbinox.JarBundleFile.getCachedEntry(JarBundleFile.java:210)
         at org.apidesign.netbinox.JarBundleFile.getEntry(JarBundleFile.java:218)
         at org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.internalGetResourceURL(BundleFile.java:151)
         at org.eclipse.osgi.baseadaptor.bundlefile.BundleFile.getResourceURL(BundleFile.java:147)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findResourceImpl(ClasspathManager.java:351)
         at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalResources(ClasspathManager.java:329)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalResources(DefaultClassLoader.java:212)
         at org.eclipse.osgi.internal.loader.BundleLoader.findLocalResources(BundleLoader.java:769)
         at org.eclipse.osgi.internal.loader.SingleSourcePackage.getResources(SingleSourcePackage.java:41)
         at org.eclipse.osgi.internal.loader.MultiSourcePackage.getResources(MultiSourcePackage.java:51)
         at org.eclipse.osgi.internal.loader.BundleLoader.findResources(BundleLoader.java:688)
         at org.eclipse.osgi.internal.loader.buddy.RegisteredPolicy.loadResources(RegisteredPolicy.java:114)
         at org.eclipse.osgi.internal.loader.buddy.PolicyHandler.doBuddyResourcesLoading(PolicyHandler.java:168)
         at org.eclipse.osgi.internal.loader.BundleLoader.findResources(BundleLoader.java:709)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findResources(DefaultClassLoader.java:162)
         at java.lang.ClassLoader.getResources(ClassLoader.java:1039)
         at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:323)
         at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:415)
         at oracle.adfdt.model.DataControlManager.addDataControlFilter(DataControlManager.java:763)
         at oracle.adfdtinternal.model.ide.dbpanel.DataControlFilterPalette.jbInit(DataControlFilterPalette.java:105)
         at oracle.adfdtinternal.model.ide.dbpanel.DataControlFilterPalette.<init>(DataControlFilterPalette.java:97)
         at oracle.adfdtinternal.model.ide.dbpanel.DataBindingDockeableWindow.<init>(DataBindingDockeableWindow.java:95)
         at oracle.adfdtinternal.model.ide.dbpanel.DataSourceDockableFactory.getDockWindow(DataSourceDockableFactory.java:62)
         at oracle.adfdtinternal.model.ide.dbpanel.DataSourceDockableFactory.getDockable(DataSourceDockableFactory.java:81)
         at oracle.ideimpl.docking.DockStationImpl.createDockable(DockStationImpl.java:1452)
         at oracle.ideimpl.docking.DockStationImpl.findDockable(DockStationImpl.java:1432)
         at oracle.ideri.navigator.NavigatorDockableFactory.createDrawer(NavigatorDockableFactory.java:70)
         at oracle.ideri.navigator.NavigatorDockableFactory.access$200(NavigatorDockableFactory.java:32)
         at oracle.ideri.navigator.NavigatorDockableFactory$ProxyAwareHostedDockableListener.hostedDockableRegistered(NavigatorDockableFactory.java:221)
         at oracle.ideimpl.docking.HostedDockableHook$2.run(HostedDockableHook.java:119)
         at oracle.ideimpl.extension.ExtensionManagerImpl$AfterExtensionLoadingRunnable.run(ExtensionManagerImpl.java:2130)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1585)
         at java.awt.Component.setVisible(Component.java:1537)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
         at oracle.ideimpl.feedback2.client.ui.CustomerFeedbackDialog.runDialog(CustomerFeedbackDialog.java:110)
         at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:525)
         at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:360)
         at oracle.ideimpl.feedback2.client.FeedbackManagerImpl$2.run(FeedbackManagerImpl.java:238)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1585)
         at java.awt.Component.setVisible(Component.java:1537)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:352)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:243)
         at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:215)
         at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$WizardEventAdapter$1ProgressRunnable.start(NewObjectFromTemplateWizard.java:497)
         at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard$WizardEventAdapter.wizardFinished(NewObjectFromTemplateWizard.java:537)
         at oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(BaseWizard.java:2525)
         at oracle.bali.ewt.wizard.BaseWizard.processEventImpl(BaseWizard.java:2566)
         at oracle.bali.ewt.LWComponent.processEvent(LWComponent.java:658)
         at oracle.bali.ewt.wizard.BaseWizard.doFinish(BaseWizard.java:2171)
         at oracle.bali.ewt.wizard.BaseWizard$Action$1.run(BaseWizard.java:3948)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
         at java.awt.Dialog$1.run(Dialog.java:1046)
         at java.awt.Dialog$3.run(Dialog.java:1098)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Dialog.java:1096)
         at java.awt.Component.show(Component.java:1585)
         at java.awt.Component.setVisible(Component.java:1537)
         at java.awt.Window.setVisible(Window.java:842)
         at java.awt.Dialog.setVisible(Dialog.java:986)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
         at oracle.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
         at oracle.jdeveloper.template.wizard.NewObjectFromTemplateWizard.runWizard(NewObjectFromTemplateWizard.java:117)
         at oracle.jdeveloper.template.wizard.GalleryItemAdapter.invoke(GalleryItemAdapter.java:56)
         at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
         at oracle.ide.wizard.WizardManager$1.run(WizardManager.java:530)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
         at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
         at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.util.zip.ZipException: error in opening zip file
         at java.util.zip.ZipFile.open(Native Method)
         at java.util.zip.ZipFile.<init>(ZipFile.java:127)
         at java.util.zip.ZipFile.<init>(ZipFile.java:144)
         at org.eclipse.osgi.framework.util.SecureAction$14.run(SecureAction.java:255)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.eclipse.osgi.framework.util.SecureAction.getZipFile(SecureAction.java:253)
         ... 146 more

    Hi
    I run JDeveloper on Ubuntu without a problem, please make sure you have enough permissions on the directory where JDeveloper was installed. Also have you make the installation with the same user? What's your JDK version?
    - Juan Camilo

  • How to open .jar files in nokia 6300

    hi,
    Recntly i downloaded few games to my nokia 6300, its in the jar format, when i tried to open it, i get a promt as file format not supported, Please guide how to access n open a .jar file in my mobile ? ? ? ?
    keer

    you can try to install it via pc suite.
    .jar file usually come along with a .jad file which describe the installation info. If the phone support java application, the installation should start when the download is complete.
    What's the law of the jungle?

  • Cant open .jar files

    Hey i need help on opening .jar files..:(
    I got Nokia pc suite , and whenever i try to open the .jar file it opens with nokia pc suite , so i changed the "Open With" to the java.exe , but whenever i try to open it , it just open the Command Prompt and then closes down :(
    I tried many java applications, but it seems non works :(
    Heres an image if you wanted to see
    http://i182.photobucket.com/albums/x293/akisboy32/Java.jpg
    And yes my Environment variables i got this
    Variable : value
    CLASSPATH CLASSPATH=C:\Program Files\Java\jdk1.6.0_02\bin;%CLASSPATH%;
    PATH C:\Program Files\Java\jdk1.6.0_02\bin
    System Variables
    CLASSPATH C:\Program Files\Java\jdk1.5.0_06\bin\javac.exe
    I dont think theres any wrong with the Variables..
    Help please!
    thanks

    Stepwise:Windows Explorer
    Tools
    Options
    Folder Options...
    File Types
    (Select Jar     Executable Jar File)
    Advanced
    (Select open)
    Edit
    Action
        open
    Application used to perform action:
        "C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe" -jar "%1" %*
    Use DDE
        checked
    DDE Message
        (leave blank)
    Application
        javaw
    DDE Application not running
        (leave blank)
    Topic
        System
    OK
    OK
    OKThese are the settings on my system, you may want to substitute java.exe for javaw.exe. Also change the path if it is different on your machine.
    db

  • Open jar files through gui

    I have a program where i am trying to have a button allow the user to open a jar file from a different program and run that. Does anyone have any idea how i could go about this?
    Chris

    cmrozi1 wrote:
    First how do you search the jar file for that?You can use JarFile, its getManifest method, and Manifest to look up the value of the Main-Class attribute. If there is no Main-Class attribute in the manifest, you probably need to load each and every class file in the jar and check via reflection if the class has a main method or not.
    cmrozi1 wrote:
    I thought if its in that format it runs the file when you click it.No. This, however, is explained in the article.
    cmrozi1 wrote:
    Then second you say to use reflection to invoke the class main method. what exactly do you mean by this? do you have a tiny example?Information on reflection can be found in the Java tutorial: http://java.sun.com/docs/books/tutorial/reflect/index.html
    A tiny example:Class mainClass = ...
    try {
      final Method mainMethod = mainClass.getDeclaredMethod("main", String[].class);
      mainMethod.invoke(null, new String[0]);
    } catch (NoSuchMethodException e) {
      e.printStackTrace();
    } catch (IllegalAccessException e) {
      e.printStackTrace();
    } catch (InvocationTargetException e) {
      e.printStackTrace();
    }

  • Why can't my MacBook open .Jar files?

    Hi,
    Whenever I try to open a .jar file, I get this error message:
    I really need to be able to open .jar files. I have been able to open them in the past; I really don't know what happened.
    Java is up to date.
    Everything is up to date.
    Java settings is set to default.
    oh, I'm on Leopard Version 10.5.8 - I doubt the problem is the operating version though because I have been able to
    open .jar files in the past without a problem.
    Please help me. - I don't know what went wrong with my computer...
    Thanks!
    Jeremy

    I am having the same problem -
    I’m trying to install this “copious dogs” mod on my work computer (MacBook Pro).
    I can’t open the JAR file.  I get an error message saying “Copious dogs … cannot be launched. Check the Console for possible errors …”
    I’ve been on all kinds of boards that tell me to install a bunch of Java apps and whatnot.  None of that has worked.
    I’ve found other boards that say to open the .jar file with my archive utility.  I can do that and get to a “cpgz” file.  But then when I try to open that I get another .jar file – which I can’t open.
    Other boards say to go to the apple store and download “Unarchiver.”
    But when I go to the mac store and search for “unarchiver” I’m taken to a “Dashboard Widgets: iPhone News” download – and that’s about when I start to pull my hair out and give up.
    What am I doing wrong ?

Maybe you are looking for

  • Why does my iPad show no sim when turning on cellular data?

    Why does my iPad show no sim when turning on cellular data?

  • Burning Slideshow to DVD

    I would be grateful if someone could explain how to burn a slideshow to DVD so that it can be watched on TV. I have created a slideshow and exported it and it is in the iphoto slideshow folder as .M4v file. I don't know how to get it from there to DV

  • Save cookie/session after login on web service client

    I am calling a web service that has a login method. It sets a session id in a cookie. Every subsequent call fails and says I'm not logged in. How do I save their cookie or session ID such that the server thinks I'm logged in? Here's the client code (

  • Server throwing Exception as showjobidnull once i try to run reports

    oracle.jbo.JboException) JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: java.io.IOException, msg=Server returned HTTP response code: 500 for URL: http://isc9l:8888/reports/rwservlet/showjo

  • Emailing photos through iPhoto without templates?

    I recently had to erase my drive and re-install all my software. I'm using Snow Leopard (10.6.8). When I first got iLife 11 when it came out I somehow or other got iPhoto to work in the old way as far as selecting a few photos and sending them throug