Cannot run jar file with J9!!

I've install J9 to my Pocket PC.
The problem is, I cannot run my jar file. Do I have to do something with my jar file?
Can somebody help me...

Self-installing cab files for PocketPC have a special structure. Google around and you can probably find it. In the meantime, I've put together a (hopefully - I've never tried a self-installing .cab without any files) suitable installer. Here it is after uuencoding: begin 644 j9jar.cab
M35-#1@````#7`0```````"P``````````P$!``$```#2!```20````$```"&
M`0``````````UI??KV``,#`P2CE*87(N,#`P`,L[SV"&`88!35-#10````"&
M`0````````$`````````````````````````````````````````!0``````
M`P`$````?````+````"P````L````-H```"&`0``9``+`&\`#0!\````````
M`"YJ87(@=&\@2CD`64%407)C:&EV:7-T``$`!0`N:F%R``(`"`!J87)F:6QE
M``,`!@!3:&5L;``$``4`3W!E;@`%``@`0V]M;6%N9``!``$````$``$````"
M``$````$``(````#``$````*``(``P`$``4````!``$`````````"0``:F%R
M9FEL90`"``$`````````)P!#;VYT96YT5'EP90!A<'!L:6-A=&EO;B]X+6IA
M=F$M87)C:&EV90`#``(`````````#@``2F%V82!!<F-H:79E``0``P``````
M```^```B7%!R;V=R86T@1FEL97-<2CE<4%!23S$P7&)I;EQJ.7<N97AE(B`M
5:F-L.G!P<F\Q,"`M:F%R("(E,2(`
`
end

Similar Messages

  • How to run jar files with arguments?

    Hi everybody,
    Is it possible to run a jar file with arguments passed to its MAIN class?
    If yes can you help me on how to do it?
    Thanx

    I am in complete agreement with FahleE. I'll refine it a bit.
    On my machine (running RedHatLinux8.0) you can run the demos like this.
    1. open a console window
    2. go to the directory where the demo you wish to run, say, demo.jar, is located
    for instance for the SwingSet2-demo
    cd /usr/lib/java/demo/jfc/SwingSet2
    3. run the jar file
    java -jar demo.jar
    In order to run it windows style, ie, launching by double clicking, save these lines in a file called
    LaunchJar.sh
    cd /usr/lib/java/demo/jfc/SwingSet2
    java -jar demo.jar
    where demo.jar is the jar file you want to run.
    Right click on the LaunchJar.sh and go to the 'Properties' tab. Check the 'Execute' permissions for Owner/groups/others. You can also do the same thing by chmod command.
    Now double-click on the LaunchJar.sh file: your application should be launched.
    Palash.
    Please Note: It is important to set the path variable to your JAVA_HOME directory....
    Otherwise, instead of
    java -jar demo.jar, you will need to use the full path to your JAVA_HOME/bin directory like:
    JAVA_HOME/bin /java -jar demo.jar.
    Where JAVA_HOME is the directory where you have installed java. Typically it is usr/java or usr/local/java

  • Can't run .jar file with JavaSE

    Hello.
    I'm trying to run a .jar file with JavaSE Binary, just like I did with Windows. I Ctrl+Rclick and pick "Open with..." and there is no such option. I've been searching the whole day for a solution, I kept getting "Open Java Preferences... put on top of the list" and things like that. There is no "Java Preferences" in the Utilities folder, and nothing related to my problem in "Java Control Panel" in System Preferences. Yes, I have Java 7. I just need to run this file with Java. How?
    Thanks in advance.

    Max. allowed size of .jar file is 1MB.

  • How to run jar file with classpath?

    Hi, all,
    I have some package in my project, with which I have a java help jar file as classpath, when I run my project, I need the jh.jar file in directory /jar/jh.jar.
    Now, I bundled all my class packages into a jar file, my.jar, together with the /jar directory. When i run my jar file with command:
    java -jar my.jar
    It tells me couldn't find javahelp class.
    What shall I do? How can I create my jar file with the jh.jar?
    Thanks in advance.

    Thanks, hjembaek,
    But it doesn't work for me. I am running in windows, it still generate the error:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/help/HelpSet
    at own.gui.OwnMenuToolBar.getOwnHelpBroker(OwnMenuToolBar.java:560)
    at own.gui.OwnMenuToolBar.addHelpMenu(OwnMenuToolBar.java:327)
    at own.gui.OwnMenuToolBar.getOwnMenuBar(OwnMenuToolBar.java:188)
    at own.gui.OWNDPTool.initGui(OWNDPTool.java:55)
    at own.gui.OWNDPTool.<init>(OWNDPTool.java:39)
    at own.gui.OWNDPTool.main(OWNDPTool.java:100)
    Here is my command to generate the jar file:
    jar cfm Own.jar temp.txt help own log others
    temp.txt is the file including the main class and class path information
    I have help folder, log folder and own package, others is directory that has the jar file(others/jh.jar)

  • Problem running jar files of java in Linux

    I cannot run jar files in java/jdk1.3.1_01/demo in Readhat Linux 6.2
    The command is :--
    [root@localhost Notepad]# java -jar Notepad.jar
    java.lang.NoClassDefFoundError: javax/swing/JPanel
    at java.lang.Class.forName(Class.java:33)
    at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
    at kaffe.jar.ExecJar.main(ExecJar.java:61)
    [root@localhost Notepad]#
    My ~/profile setting is :---
    PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/usr/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
    export JAVA_HOME=/usr/java/jdk1.3.1_01
    export NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/ns4

    [root@localhost Notepad]# java -jar Notepad.jar
    java.lang.NoClassDefFoundError: javax/swing/JPanel
    at java.lang.Class.forName(Class.java:33)
    at
    at
    at kaffe.jar.ExecJarName.main(ExecJarName.java:58)
    at kaffe.jar.ExecJar.main(ExecJar.java:61)
    [root@localhost Notepad]#
    My ~/profile setting is :---
    PATH="$PATH:/usr/X11R6/bin:/usr/java/jdk1.3.1_01/bin:/u
    r/java/jdk1.3.1_01/jre/bin:/usr/java/jre/lib"
    export JAVA_HOME=/usr/java/jdk1.3.1_01
    export
    NPX_PLUGIN_PATH=/usr/java/jdk1.3.1_01/jre/plugin/i386/n
    4Add the line:
    export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar
    Then, run the command "source ~/.profile" and then the jar file should be able to run.
    Bhav

  • Console not display when run jar file

    i run jar file with command javaw -jar test.jar or double click on jar file, it's console app, it just run well but console not display, can i made console display and when i close console, it's stop jar file too?
    thanks

    i got it, javaw = no console window, i tried java command and i got error: can not access jar file?

  • Unable to run jar file without lib folder containing swing-layout-1.0.jar

    I have done my project through NetBeans 5.0. Eventhough I have copied my lib foloder containing swing-layout-1.0.jar inside my project.jar, I am still unable to run my project.jar in other systems, it is creating an error as Could not find the main class. Program will exit. But if I copy the lib foloder containing swing-layout-1.0.jar in the same path as the project.jar, then my project.jar is running.
    But I want to give only the project.jar for other users and not also lib foloder containing swing-layout-1.0.jar each time.
    Could someone please help me with this.

    When you develop GUI applications using the Netbeans you may endup using netbeans specific jar files in your auto generated code.
    And when you build jar files with netbeans it copy the third party jar files used in a application in to a lib folder in the same directory as the jar file of your project. And then set a class path entry to those jar files in your project jar file's manifest file.
    So if you want to redistribute the package you have to redistribute your jar file and every thing in the lib folder in with the same directory structure.
    If you want to change the structure you will have to change the class path to suit the new structure.

  • Cannot open pdf files with Firefox's built-in pdf viewer

    This just started (I think) with Firefox 37.01. This is on Win7-X64. I cannot open pdf files with the Firefox built-in pdf viewer. If I click on the file or try to open it from within Firefox, it brings up a "opening filename.pdf" message. If I select the "Open with" radio button as 'Firefox (default),' it just keeps looping on this process; it never opens. In Tools => Options => Applications, Portable Document Format (PDF) is indicated as 'Preview in Firefox.' I've never had any other PDF viewer installed on this computer. I've tried disabling all plug-ins and extensions, but it still doesn't work. I searched for solutions but haven't found any for this specific issue.
    Thanks for the help.

    Hello,
    Have you tried, to start Firefox in safemode you can do so by following these steps
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • Cannot print PDF file with version 11.0.10 Adobe Reader.

    Cannot print PDF file with version 11.0.10 Adobe Reader.  Get error messages "This document could not be printed" and "There are no pages selected to print".  I am using a Mac OS Ver 10.0.2.  I see that this question has been asked by others recently, but no answers.  Anyone have any suggestions?

    Assuming you are running 10.10.2 and not the ancient 10.0.2, can you tell us what printer and printer driver you are using? How is the printer connected to the computer (network, usb)? See if you can delete the Reader preference files? Years ago I resetting the printer subsystem would sometimes cure a problem like this.

  • ServiceBus java callout - how to pack the JAR file with libraries?

    Hello
    I want to use a Java Callout from a Service Bus flow.
    What is the correct way to pack the JAR file with its nessecary libraries?
    I tried different methods to pack my JAR, but yet, as though the Java runs perfectly from the Workshop (Eclipse) , when I am trying to use the exported Jar on the ServiceBus flow, it fails with an ClassNotFoundException.
    I would really appreciate your advice here.
    Thanks
    Koby

    Well.. Looking inside my exported JAR file, I got all of the files there inside, including the jar file containing the library.
    What I'm trying to do is run a simple java program that connect through SSH and therefore use an SSH library.
    On the workshop I got it as an imported library JAR. And it works perfectly there.
    Any idea?
    Here's the complete error I get:
    <BEA-382515> <Callout to java method "public static java.lang.String sshpackage.SshProg.remoteScriptInvoke(java.lang.String,java.lang.String,java.lang.String,java.lang.String)" resulted in exception: null
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at stages.transform.runtime.JavaCalloutRuntimeStep$1.run(JavaCalloutRuntimeStep.java:158)
    Truncated. see log file for complete stacktrace
    java.lang.NoClassDefFoundError: ch/ethz/ssh2/Connection
    at sshpackage.SshProg.remoteScriptInvoke(SshProg.java:29)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: ch.ethz.ssh2.Connection
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at com.bea.wli.sb.resources.archive.HookedJarClassLoader.loadClass(HookedJarClassLoader.java:251)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    Edited by: kobyssh on 04:12 01/02/2010

  • Unsupported class version error trying to run jar file on windows machine

    Hi,
    i've written a program that connects to an access database to get its data. Created a jar file with the class files, the access database and other required files.
    works fine on my home windows computer but when i try to run it on another machine i get an error.
    here's what i write on the cmd: java -Xmx128m -jar myFile.jar
    heres the error i get:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: StartUp(Unsupported major.minor version 49.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    and so on.
    It seems like it might be quite a basic error but i'm lost, can anyone please shed some light and tell me where i'm going wrong?
    cheers in advance

    hey there, in case anyone was going to reply, i've worked it out now. couldn't work out what was wrong at first so just pulled out all my classes and put them into a brand new jar file. now use javaw -jar instead of java and it worked fine! wierd...

  • Run jar files in Mac OS X

    Hi I am working in a MAC OS X environment. I want to run a jar file with arguments in OS X from an icon that can be double-clicked. It is possible to use a .command file to run it. But its just plain ugly to look at and when running. Is there a cleaner slicker way to do what i want :).

    Hmm. It turns out to be not so hard to turn a jar into a .app. Open Project Builder, create a new Java Swing Application, build it, then go into your applications Contents/Resources/Java folder and drop a copy of your jar. Edit the Contents/Info.plist to change the ClassPath and MainClass attributes. But I don't see an attribute for command-line arguments.

  • Impossible to run jar file

    Hi! I've got a problem is getting me crazy. I'm using JDK 1.1.8 to develope a consulting application in java. Everything works well, but I need to create a jar file to distribute the program to other PCs. I install the JRE 1.3.1 to simply click on the file and run it, but it doesn't work. The problem is the famous "Could not find main class", I've already read about it in other threads. But there is one curious thing. If I run the jar file with c:\jre...\bin\java -jar MyJar.jar this exception ocurred:
    Exception in thread "main" java.lang.ClassFormatError: Consulta (Illegal method modifiers: 0x402)
    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)
    and "Consulta" is not my main class, my main class is another one.
    What is the reason of this error? How could I create a jar file and run it with double-click?
    Thanks a lot!!

    Yes, I've defined the main class.
    I've just solved the problem. I think it was related with a private method I had defined in the class "Consulta". I changed it to public and it works. A bit strange....
    Thanks anyway for your response! See you!

  • Create a complete jar file with jscreator

    Please provide all details for creating a jar file with jscreator for this 77 year old puzzle creator

    Hi,
    I would suggest switching to NetBeans IDE. It allows for the following:
    - Ability to run with latest JDK release
    - Enabled with the latest Java technologies
    - Support for a greater number of application servers
    The following will help with migration (if you already have a project setup in Creator)
    http://www.netbeans.org/kb/60/web/creator-migration.html
    Also, the following article describes how to create and Distribute Executable JAR Files in NetBeans
    http://www.netbeans.org/kb/articles/javase-deploy.html
    NetBeans website for downloads and other information;
    http://www.netbeans.org/index.html

  • Installing a JAR file with NAL

    This is in reference to my previous message about trying to use NAL to get
    to a URL with System Rights...
    In addition to having to install Java to use our new webpage, there is a jar
    file that has to get pushed out, too.
    It's not available as an executable, but, is there anyway to push out a jar
    file with NAL? Does it need to be run, or, just copied somewhere, and, if
    so...where?
    Thanks!

    We have an AGFA Imaging system that puts digitized x-rays, CAT-scans, etc.,
    up on a webserver, so that docs all over our hospital can pull them up and
    look at them.
    The previous system HAD to use the MSJVM, but, last Saturday they upgraded
    the system (not really telling us the requirements ahead of time...<G>), and
    it had to use the Sun JRE. Sooo....I had to setup an AppObj last Sunday to
    push out Java to all workstations, so went to Java.com and downloaded the
    latest version, 1.5.x
    Well...of course they had to use a certain version, 1.4.1_01, and, it
    wouldn't work with 1.5.x at all, so, I pushed that out, then it turned out
    that they use a product from Germany (AGFA, you know) named JacoZoom, and a
    jar file is asked to be run by the users when they first login to the
    website, and, of course...you have to be an Administrator.
    Our VA Security Managers like to over-protect us, so, the German site
    hosting JacoZoom is blocked, and, rather than drive home and download what I
    needed, I thought it would be easier just to push out the URL with System
    Rights temporarily (you understand that by this time, Monday afternoon, all
    our 400 doctors were up in arms because they couldn't view any images), and
    then the trying to push the URL just didn't work.
    Sooo...I drove home and got the JacoZoom product (had to buy it), which is a
    large executable containing several JAR files when exploded, one of which
    was the one that was being pushed out. Running the executable didn't do the
    trick (not sure why), and the JAR wouldn't run, even manually, but, I
    FINALLY found an email from another tech going through the same hassle, and,
    all he did was push a different JAR file to the \lib\ext folder in the JRE
    1.4.1_01 folder...and it worked.
    I did that, and, it worked, and deployed it all over the building.
    Welcome to my world--and, I'm not complaining, because with SMS (which we
    have to run, but don't use), I'd still be configuring the deployment
    package.
    Thanks.
    "Anders Gustafsson" <[email protected]> wrote in message
    news:[email protected]...
    > Bill Bradley,
    >> I pushed it to all sorts of locations, without luck. Do you have to RUN
    >> Jar
    >> files, somehow?
    >
    > It depends on what it is. A jar file is just a PKZIP file with java
    > classes. Is
    > this part of a greater something?
    >
    > - Anders Gustafsson, Engineer, CNE6, ASE
    > NSC Volunteer Sysop
    > Pedago, The Aaland Islands (N60 E20)
    >
    > Novell does not monitor these forums officially.
    > Enhancement requests for all Novell products may be made at
    > http://support.novell.com/enhancement
    >
    > Using VA 5.51 build 315 on Windows 2000 build 2195
    >

Maybe you are looking for

  • OE Discount Lines

    Dear experts Some client I'm working on has a line based item discount which will appear in the invoice as a separate discount line. The discount is defined as a 'PBH'  - Price Break Headers However i can't find a way to differentiate this discount l

  • Taxonomy vs Hashtag

    Dear all, Sorry it may be a dumb question. I have built some Sharepoint 2010 before and used the Taxonomy termstore to tag documents.  I am new to Sharepoint 2013 and aware there is new social feature Hashtag or #tag.  I see most demo on hashtag is o

  • Java won't run in safari?

    I am trying to play euchre online and it says java is not installed after performing a check. I re-installed java twice, restarted my computer and browser and will still not run. Running latest version of safari and osx. I have made sure java is enab

  • When in Facebook sometimes youtube does not have volume

    On my IPAD when using Facebook at times I do not have volume on youtube when someone sends something. However when doing directly into youtube there is volume.

  • A/R Invoice format ?

    My client has a very unique request.  They basically sell inventory kits as items.  For example one item (XJ-4231) is comprised of 3 pieces. 1. cellphone 2. headset 3. charger On the invoice they want the item code to appear as usual, but with no pri