My JAR won't run on computer running 1.1.8

HI everybody. I want to put my jar file on another computer but this other one is running 1.1.8 and its not recognising my jar command :
it says: -jar: illegal argument , and when i check the help it doesn't have jar as an option, and when i check the version its 1.1.8.
The thing is i can't even download a newer versio of java on this machine. So can i change my program to an exe or is there anything i can do to make it work??
Many thanks

As far as I remember the -jar option was only introduced in Java 2. Before that you had to run it by giving the jar file on the classpath and using the main class as the argument to java.
BUT... this is likely to be the least of your problems. If your program uses any features from after version 1.1, then your program won't run anyway.

Similar Messages

  • Jar won't run after using profiler

    I have an executable jar file in my dist directory, it used to run when I double click it, but after I tried the Profiler 5.5, it can't run any more, it says "Can't find main class", can someone tell me what happened ? And how to fix it ?
    Frank

    I figured out why, it had nothing to do with profiler, I forgot to include other jars for it to run.
    But I hope there is a button in Netbeans to get back to the state before using the profile, automatically recover build files ...
    Frank

  • Have Photoshop Elements from 2001.  Got new computer with Windows 7 Professional 64 bit.  It won't run on my new computer.  What version is MOST SIMILAR to the old version I have, that will run on W7P-64?  Thanks for any help.  Popjer

    Have Photoshop Elements from 2001.  Got new computer with Windows 7 Professional 64 bit.  It won't run on my new computer.  What version is MOST SIMILAR to the old version I have, that will run on W7P-64?  Thanks for any help.  Popjer

    You should probably just download the trial version of pse 12 and see if you can live with it.
    Download a free trial or buy Adobe products | Adobe downloads
    That being said, have you tried to install pse 1 on your computer?
    How much free space is on your hard drive?
    Do you have Internet Explorer 10 or 11?
    Pse 1 can run on windows 7 x64, provided certain conditions are met.

  • T61 power adaptors do nothing - won't run computer & won't charge battery

    My T61 suddenly won't run on the power adaptor, or charge the battery.   I have several OEM power adaptors and none of them do anything plugged into this T61.  The computer runs fine on a battery charged in another T61.

    Assuming the power adapters are good, you'll need to replace the motherboard.
    ThinkPad W-510 i7-820QM(1.73-3.06GHz) Quad Core... ThinkPad T500, T9900, 8gb SSD...FrankNpad T-60p/61p (X9000 2.8ghz) 8gb SSD ips FlexView...ThinkPad T-61p (T9300 2.5ghz) 8gb ram...Thinkpad X-61 Tablet 4gb ram...ThinkPad A-31 (1.9ghz P4 1.5gb ram)

  • De authorizing a computer that won't run QT

    How do you deauthorize a computer that won't run quicktime, causing itunes not to launch?
    Or better yet, how do you fix quicktime so it works, allowing itunes to run in the first place.

    Thanks for your reply!
    My OS is posted along with my original post... XP pro... But is at the SB2 with all the latest updates via automatic updates. I can't seem to properly uninstall quicktime, as it gives me an error, and re installing gives an error as well, but I don't have those errors readily available to post at this time.
    Running QT itself provides no error information. It simply doesn't run! When launched, I get an hourglass for a few moments, and it's done! That's it.
    I had downloaded the latest at the time the other posting was made. I'll try again with the latest. I Don't expect any improvement.
    Perhaps I'll use your recommendation and deauthorize all, and re authorize those that still work. I'll likely need to reformat and install everything on this system to get it working again as it looks.

  • I am trying to update my mac to os x snow leopard but the cd won't run on my computer

    I am trying to update my mac to os x snow leopard but the cd won't run on my computer. I'm using an external dvd hardrive but I don't see why that would make a difference in wether or not it runs.

    Well, that may be the cause of the no install problem, as Snow Leopard does require at least 1gB of RAM. The Apple link below will show how it is installed.
    http://support.apple.com/kb/ht1651#link3
    The link below is for a highly recommended site to purchase additional RAM.
    http://eshop.macsales.com/shop/memory/Apple_MacBook_MacBook_Pro/Upgrade/Macbook_ selector

  • HT201413 I have a Windows XP Home Edition computer.   I recently attempted to upgrade iTunes to v10.7.  It loaded and installed OK, but now it won't run.  When I try to launch it, it gets aborted by the windows Data Execution Prevention software.  Any ide

    I have a Windows XP Home Edition computer.   I recently attempted to upgrade iTunes to v10.7.  It loaded and installed OK, but now it won't run.  When I try to launch it, it gets aborted by the windows Data Execution Prevention software.  Any ideas?

    Yes, this did solve the problem.  But I had some trouble updating QuickTime.  It failed, with the installer complaining that it did not have the required permissions to install the files it needed in the program directory.  I got it to work by telling it to install the files to another directory.  All seems well now - Thanks!

  • I have installed Java, but my computer still won't run it

    I have installed Java, but my computer still won't run it

    I have installed Java, but my computer still won't run it

  • I replaced my Firefox3.6 with version 4 which won't run on my computer. How can I reinstall Firefox 3.6?

    I replaced Firefox 3.6 with version 4 which won't run on my computer. How can I reinstall Firefox 3.6?

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • My computer won't run java, why?

    my computer won't run java, why?

    Apple have recently released an update to Safari removing in-built Java capability. If you want to use Java which I presume you do you must download it from this address;
    http://support.apple.com/kb/DL1573
    CaitlynL wrote:
    my computer won't run java, why?
    <Edited by Host>

  • Ever since I installed MAVERICK, nothing now works, Flash Player won't run, printer works but scanner will not and the computer runs so slow.  Any help anywhere?

    Ever since I installed MAVERICK, nothing now works, Flash Player won't run, printer works but scanner will not and the computer runs so slow.  Any help anywhere?

    wqn02h, first thing I would do is use Disk utility to repair permissions. Once this is done. Make sure you have the latest versions of the software you use. Also, check the manufacter of your printer/scanner for updated software. If they don't have updated software there are 3rd party alternatives that will work.
    Paul

  • Applet won't run if put in JAR file

    Hello, I've searched a lot and couldn't find an answer to my problem -
    I want to put my applet into a jar file. and run it, of course.
    I have a jar file that contains "b.class", "temp.class" both of them in directory "package_name", which is their package's name in eclipse. (this jar I obtained by using export from eclipse).
    and - I have my index.html file -
    <APPLET
    CODE="b.class"
    ARCHIVE "jar_file.jar"
    WIDTH="100%" HEIGHT="90"
    </APPLET>
    both the index.html and the jar file in the same directory.
    and the applet wont run!
    what am I doing wrong? somehow I think that the problem is because the classes reside in another directory in the jar file,
    but I already tried everything - with no success :(
    Kogan.

    OK the problem solved -here is highlighted what I was missing -
    <APPLET
    CODE=package_name.b.class ( I was missing the "package_name")
    codebase = "."
    ARCHIVE "jar_file.jar"
    WIDTH="100%" HEIGHT="90"
    </APPLET>
    Edited by: Kogan on Nov 3, 2008 6:51 AM
    Edited by: Kogan on Nov 3, 2008 6:52 AM

  • Where can I get a download for an earlier version of firefox the new version won't run on my computer

    I downloaded version 4 and replaced the old files. The new version won;t run because my Mac dose not have an Intell prossesor. I uninstalled the new version and I cant find the old version to download.

    Firefox 4 requires at least OS X 10.5 and an Intel Mac. There is a third party version of Firefox 4 that runs on OS X 10.4/10.5 and PPC Macs, for details see http://www.floodgap.com/software/tenfourfox
    If you prefer, you can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html

  • Firefox 5.01 won't run on nodia netbook - does 6.0 fix this problem?

    after trying to launch firefox 5.01 on Nokia netbook the computer constantly crashes and won't run any application. I've resorted to Explorer. Does firefox 6.x fix this problem?

    Hi guys,
    I think my question is near to you and i can get ready answer.
    I have upgraded from JSF1.1_01 to JSF1.2. I am able to deploy my application now. The deployment is failing with an error,
    Operation failed with error: Can't parse configuration file: code-source:/C:/OAS_1/j2ee/home/applications/test/SalesADFDemo/WEB-INF/lib/jsf-impl.jar!com/sun/faces/jsf-ri-runtime.xml: Error at line 3 column 14: code-source:/C:/OAS_1/j2ee/home/applications/test/SalesADFDemo/WEB-INF/lib/jsf-impl.jar!com/sun/faces/jsf-ri-runtime.xml: XML-20149: (Error) Element 'faces-config' used but not declared.
    Please help me out. how can solve this? I am using Oracle App server 10g.

  • Please I can not get a .jar file to run on XP SP3 start/run/cmd/

    I can not get a .jar file to run on XP SP3 start/run/cmd/
    Please help if can figure this out. I'm convinced it is a Windows XP SP3 problem from searching on google and seeing other ppl on XP SP3 with same problem (but no working solution for myself). I'll try to be complete-listing all I've done.
    I had installed: Java SE Runtime Environment v6u14 for Windows Multi-language
    I had checked here it was working properly: http://www.java.com/en/download/manual.jsp
    I'm trying to run this jar file (soht-client-0.6.2.jar):
    http://prdownloads.sourceforge.net/telnetoverhttp/soht-java-client-0.6.2.zip?download
    http://www.ericdaugherty.com/dev/soht/javaclient.html < this is the information for the program.
    (yes the file can be executed and should open the program's window
    I wanted to post screenshot of it but friend that it's working for isn't here)
    _(Please find log of all cmds I did in this post here: http://pastebin.com/f792983df )_
    _I have extracted +'all' the files to: C:\062\+_ (I have tried using other directories, same problem)
    ++I then start/open/run/cmd+
    then I: cd C:\062\+
    then I try various commands - all+ of these do absolutely nothing- meaning no errors, no reply, no window opens, nothing except enters that directoy again:
    java -jar soht-client-0.6.2.jar
    java -jar -client soht-client-0.6.2.jar
    java -client -jar soht-client-0.6.2.jar
    java -jar soht-client-0.6.2.jar soht.properties
    soht-client-0.6.2.jar
    So I try this cmd: java soht-client-0.6.2.jar
    Reply:
    C:\062>java soht-client-0.6.2.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: soht-client-0/6/2/jar
    Caused by: java.lang.ClassNotFoundException: soht-client-0.6.2.jar
    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)
    Could not find the main class: soht-client-0.6.2.jar. Program will exit.
    I try this cmd:
    java -jar soht-client-0.6.2.jar -client
    Reply:
    C:\062>java -jar soht-client-0.6.2.jar -client
    Unable to load configuration file: -client - java.io.FileNotFoundException: -cli
    ent (The system cannot find the file specified)
    SOHT Java Client
    The SOHT Java Client requires a properties file. Either start
    the application in the same directory as the soht.properties
    file, or specify the file name on the command line:
    java -jar soht-cleint-<version>.jar c:\soht.properties
    So then I do these cmds which produce the exact same error/reply just above; Unable to load..:
    j_ava -jar soht-client-0.6.2.jar -client soht.properties_
    java -jar soht-client-0.6.2.jar -client C:\062\soht.properties
    So then I copy soht.properties to C root and do:
    java -jar soht-client-0.6.2.jar -client C:\soht.properties <same error as above
    Then from other information I have read I right click on the .jar file, select open with Always open with:
    _"C:\Program Files\Java\jre6\bin\javaw.exe"_
    Try again.. same problem.
    Then I do cmd:
    _"C:\Program Files\Java\jre6\bin\javaw.exe" -jar "C:\062\soht-client-0.6.2.jar"_
    does nothing, retry the other commands same thing (either nothing or those same replies)
    Then I read (http://forums.sun.com/thread.jspa?threadID=5384879) someone had the same problem as I and they solved it by uninstalling all Java/reboot/ then install JDK 6 Update 14 with NetBeans 6.5.1 start NetBeans and then it worked for them.
    So I unistalled all Java, rebooted and gave the cmd another try (before re-installing), now a new error, of course:
    C:\062>java -jar soht-client-0.6.2.jar
    'java' is not recognized as an internal or external command, operable program or batch file.
    Then I install  Java SE and NetBeans Cobundle (JDK 6u14 and NB 6.5.1) Final Release/ reboot/ open Netbeans/
    go to test java page; all is good, run cmds again -and still nothing..
    C:\062>java -version
    java version "1.6.0_14"
    Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
    Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing)
    I reassociate program with: C:\Program Files\Java\jre1.6.007\bin\javaw.exe_
    same thing.. nothing
    Thank you very much for your time :D_
    PS. My computer has been newly reformatted so needing another reformat I'm sure is not the solution.

    Thank you very much for your replies Taggert_77 & swmtgoet_x :D
    Taggert77_: I have never used NetBeans. I only installed it in the bundle as I had read on another post that somehow installing the bundle magically helped another user with the same problem (he didn't know why it worked after that either).
    Before XP SP3 I was able to execute .jar file through cmd prompt. Now I am not.
    This file is executable, grab it and you will see. Here is a screen shot (program in front is FlashFXP, behind is the cmd prompt and what should happen):http://www.freeimagehosting.net/uploads/53273b4ddf.jpg
    swmtgoetx_: I only did the other cmd's to try to make it spit out something, anything lol :D
    The proper cmd is simply: java -jar soht-client-0.6.2.jar
    I did give your cmd a try, and it produced nothing :( (just like the other correct cmds)
    java -client -jar soht-client-0.6.2.jar soht.properties
    Thank you again...the mystery remains
    PS. If you do a search for this you'll find an amazing amount of XP SP3 users with the same problem and no solution posted that I could find except one chap that did the unistall install order that I did above).

Maybe you are looking for

  • Events on iPod calendar off by 1 hour

    I just started syncing my iCal to my 5G iPod. All the events on the iPod calendar show up one hour early. I verified my iPod time is set to Pacific timezone & that Daylight Savings Time is off. I verified my computer time is set to PST. I tried setti

  • Audio through mini displayport

    I have a MacBook Pro Mid 2009 with Mini Displayport.  I want to use this to play Hi-def video and surround sound audio on my HDTV.  Can this be done and if so, how?

  • Workflow Components : how to use SPLIT and JOIN ?

    Dear all, Because a Transition does not have any return of result, do you know how to use SPLIT and JOIN components ? <activity name='"xyz"> <Transition to='act1'> </Transition> <Transition to='act2'> </Transition> </activity> In this above example,

  • In spool 2 pages shows when i take print

    Hi Experts, I have created sap script for payment print prog and for that i use standard prog RFFOUS_C. everything is fine, but when i take print this check printing so it comes 2 pages, and in spool also shows 2 pages, in second page some additional

  • Adobe PDF printing preferences (Windows)

    This question was posted in response to the following article: http://help.adobe.com/en_US/acrobat/pro/using/WS58a04a822e3e50102bd615109794195ff-7f2b.w.h tml