Run jar-exe on windows systems.

Hi. I`m trying to find a way to run jar files on Windows systems. The key is to do so without having installed "explicity" the jre (1.5 or higher) sun installation program. I mean, I want to users be able to run my .jar executable programs on machines where jre isn`t set. I know how to create executable jar programs, but I have no idea about how to change Windows behaviour to instantiate the java virtual machine.
Help and comments wil be welcome, Thanks and regards.

Are you trying to run .jar executable on Windows system without JRE installed? Remember, executable jar file contains java classes and they need a JVM/JRE in order to run themselves.
In plain you cann't run a jar executable without jvm/jre installed.
Now, on another note, if you are trying to provide user the ability to run jar file without downloading/installing JRE, this forum entry might interest you:
http://forum.java.sun.com/thread.jspa?threadID=695898

Similar Messages

  • Captivate 7 does not run the exe on windows xp

    We are using adobe captivate 7 installed (trail version ) in a windows 7 with SP1 computer . when we publish it and run exe in the windows XP (home ) under administrator we get  following error even if the flash player is updated.
    "" The installed version of Flash Player is not the latest.  The latest Flash Player version has been installed successfully without affecting your existing Flash Player installation.  Double-click the EXE again to run it.""
    when we click OK it disappears and when we run the exe for the next time it runs . whereas if we run the same exe in the other user (not having admin permission ) also gets the same error and after clicking OK if we run exe again it shows the same error message again and again .
    we have tested in win 7, win 8 , win server 2012 it works fine.
    please suggest me why it comes and how to prevent it .

    Installing on Windows is pretty simple, unless there is something that prevents the java environment from starting the console. Check the path environment variable and make sure there are no other jdk mixed. Check that the windows security doesn't prevent the oui console from starting, it happens that the windows security blocks java applications, and if you asked it to do it by clicking accept, then it won't start.
    ~ Madrid
    http://hrivera99.blogspot.com/

  • Psexec - problem run regedit.exe under windows 8.1

    i just made some stupid things with a registry key under CLSID (win 8.1 32bit):
    - remove all permission for that key
    - set owner to "system"
    .=>result when open that key:
    "an error preventing this key being opened.
    Details: Access is denied."  and then i can not change owner back admin any more.
    troubleshoot:
    i try using psexec to run regedit as system accont: 
    psexec -i -d -s c:\windows\regedit.exe
    and then change owner/ permission back to default but get error: "unable to save permissions on key..access is denied "
    I try test same things on windows 7, then using psexec and change owner from "system" back "admin", grant permission successfully
    i am not sure this is psexec or win 8.1 problems . some one can help me?. sory for my bad english

    Hi HTK91,
    This forum is to discuss problems of C# development. Your question is out of our support. I will move your thread to
    Where is the forum for forum. As moderators of this forum will help you move to the right forum. Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Running apple mail on windows system

    Hey all,
    Is there anyway that I can download and run apple mail on a windows based system?
    I just recently got a mac (first one!!) and am switching all my contacts to mail. But when I'm at work I'd like to have mail running on my windows based computer. I can check my mail through .mac right now, but would prefer if the program ran on my computer and told me when I got new e-mails as opposed to me having to keep checking through .mac. Anyway to accomplish this?

    how would I do that with thunderbird?
    The same as you would any IMAP account.
    You can find the necessary incoming and outgoing server information here:
    http://docs.info.apple.com/article.html?artnum=306118
    I don't think the Windows version of Thuderbird will have .Mac as a default account type. You'll have to manually create it.
    Matt

  • 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...

  • I had gotten an error When i run buildtuxedo.exe  under Windows

    Link title,i got an err below:
    "Unable to locate a valid project."
    How come?

    Thank you for your answer.
    I'm exercising a fml buffer type lab.
    and isn't compiling,my environment is below.
    OS : Windows XP sp3 32-bit //Does it require Windows 2003 Server ?
    CPU : Intel Genuine 2.0Ghz x 2
    Tuxedo : 8.1, 32-bit, Patch Level 355
    I got an invalid SDK license error yesterday,but after checking my license file,it's LIC-TUX81-SDK-128B_With-Jolt,other application are working well.
    Then i found there is a issure and show take a patch from metalink site,after i took the Rolling patch RP355,i got a Unable to locate a valid project err when i ran the file named buildtuxedo.exe.
    I get the invalid SDK license error again today when i run it.

  • Windows 7 in domain Cscript.exe c:\windows\system32\Slmgr.vbs /ato = license key not found

    Hi,
    1 Windows 7 machine doesn't want to activate its license key after deployment.It says "this copy is not genuine".
    When I run  >Cscript.exe c:\windows\system32\Slmgr.vbs /ato it says "Error: product not found."
    It seems as if it doesn't find the local/general KMS key (needed to activate the key).
    I was wondering if somebody could explain the working of this KMS key so we can analyze/troubleshoot.
    Pls advise.
    J.
    Jan Hoedt

    Well, that works indeed. The question now is "what happened". Entering the KMS key into the client works.
    Jan Hoedt
    Note:
    Working config:
    Server:  server1.ourcompany.com
    Address:  10.158.10.23
    _vlmcs._tcp.ourcompany.com    SRV service location:
          priority       = 0
          weight         = 0
          port           = 1688
          svr hostname   = server2.ourcompany.com
    server2.ourcompany.com    internet address = 10.158.10.33
    Not working config:
    Server:  server4.ourcompany.com
    Address:  10.158.22.33
    _vlmcs._tcp.ourcompany.com    SRV service location:
          priority       = 0
          weight         = 0
          port           = 1688
          svr hostname   = server2.ourcompany.com
    Here "server2.ourcompany.com    internet address = 10.158.10.33" is not available!

  • Error A12E1 when running CCPLauncher.exe

    Hi
    We need to package Indesign with Creative Cloud Packager but it's stops with erro A12E1.
    I try the steps in A12E1 error installing Creative Cloud products | CC but no success.
    I also try to run CCPLauncher on a new clean computer.
    Both computers running Windows 7 64 bit and a CCPLauncher from 2014-01-30 (version 1.0.0.52)
    All results from Google seems to end in the link above. Any other solutions?
    Thanks
    Sten

    I am also having this issue trying to run CCPLauncher.exe on Windows Server 2008 R2 so I can setup an AUSST.
    I too have also exhausted the steps in the above link help page.

  • Requirement is to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a windows service, which will be created by command: - net use z: \\servername\sharedfolder /persistent:yes

    Environment:
    OS:  Windows 7 32/64 bit, Windows 2008 Server 64
    bit/ Windows 2012 Server 64 bit
    Priority:
    - Critical
    Requirement: - Since
    the Windows Service is running under the Local System Account, we would like to emulate this same behaviour.
    Basically, we would like to run CMD.EXE under the Local System Account. So that we can map a network drive to be used by a service using following
    command
    net use z: \\servername\sharedfolder /persistent:yes.
    Already Attempt:
    We tried to launch the CMD.exe using the DOS Task Scheduler AT command.  Here’s a sample command:
    AT 10:36 /interactive cmd.exe
    But I received a warning that “due
    to security enhancements, this task will run at the time excepted but not interactively.”
    It turns out that this approach will work for XP, 2000 and Server 2003 but due to session isolation
    Interactive services no longer work on Windows 7, Windows Server 2008 and above.
      2.  We
    tried to create a secondary Windows Service via the Service Control (sc.exe) which merely launches CMD.exe.
    <Drive>:\sc create RunCMDAsLSA binpath= "cmd" type=own type=interact <Drive>:\sc
    start RunCMDAsLSA
    In this case the service fails to start and results it the following error message:
    FAILED 1053: The service did not respond to the start or control request in a timely fashion.
      3. One
    suggestion, we found to launch CMD.exe via a Scheduled Task, but
    it is not giving any option to launch CMD.exe in interactive mode; so that I can map network drive using net command.
      4. I read an article, which
    demonstrates the use of PSTools from SysInternals. I launched the command line and executed following command
    psexec -i -s cmd.exe
    PSTools worked fine, but It seems that in scope of Sysinternals Software License
    Terms. You may not "use the software for commercial software hosting services."
    Application will deploy on client, which will be like commercial,
    so we are not able to use PSTools.         
    Kindly assist us for achieving the requirement. We have tried all the ways, but nothing is working for us. Kindly suggest.
    I will be really thankful.

    Hi Sir,
    Nothing worked from above for us. You can see our remarks on posted query.
    That’s why, we posted on forum.
    And there will not be any vulnerability, because, if we will use "net
    use ..."
    in network domain; definitely,
    we will provide username and password of mapped drive system.
    And, that system, itself is given by client; so that, there must not be any vulnerability; they are ready to provide user name and password.
    We need a way; by which we can complete the requirement. Kindly assist.
    Regards,
    S. P. Singh

  • My HP Pavilion 23 shows sethc.exe Bad Image: system 32 is not designed to run on Windows

    While installing a new fan in my home, the electrician blew a circuit that my HP A-I-O Pavilion 23 computer runs from.  We immediately activated it but my computer would not connect to Windows.  I received the following message:
    ***sethc.exe Bad Image: system 32 is not designed to run on Windows.   WINMM.dll is either not designed to run on Windows or it contains an error.  Try installing theprogram again using the original installation media or contact your system administrator or the software vendor for support.  Error status 0xc.0000005. ***
    My computer came Windows ready; therefore, I have no disk. HELP!!!!! 

    Hello @Senoj617,
    Welcome to the HP Forums, I hope you enjoy your experience! To help you get the most out of the HP Forums I would like to direct your attention to the HP Forums Guide First Time Here? Learn How to Post and More.
    I have read your post on how your desktop computer shows a Bad Image error message, and I would be happy to assist you in this matter!
    Since the hard drive appears to be damaged from the blown circuit, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    I hope this helps!
    Regards
    MechPilot
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks” for helping!

  • How to run a JAR file in Unix system?

    hi there
    ca anyone tell me how to run a JAR file in unix system or X window, thank you

    You want to create an executable JAR file? You do it in the following way.
    Create a manifest file such as manif.txt and the contents should contain
    Main-Class: foo
    assuming foo is the name of your main class. Then create the jar as follows
    jar cvfm foo.jar manif.txt foo.class
    I hope that helps you!
    you can find more info here http://java.sun.com/docs/books/tutorial/jar/

  • Start Run thunderbird.exe-p does not work in windows 7. how find/runProfiles manager?

    I am trying to manually transfer my address book etc. from TB on my desktop [windows XP ] to my Laptop running widows 7. Have followed all instructions, using a memory stick to make the transfer manually. System reports it is working and takes several minutes. After completion address book is blank. Thought problem might be the name of the backup file, so changed name to same as default profile name on windows 7. Same nil result. Instructions say to create new profile using Profile manager; access by windows 7 Start>Run>Thunderbird.exe-p. Windows 7 reports cannot find the file. Also tried windows 7 Start>Run>Thunderbird.exe-P, same no find file. Can anyone explain how to locate/open/run Profile Manager, other than as tried ? When I type "profile manager" into Help search, all I get is the same general information and not about Profile Manager itself. Also why does Pasteing backup profile onto the new TB seem to work, but in fact does nothing ?
    Regards, Tom

    '''How to activate the 'Profile Manager' and create a shortcut icon on desktop to make future access easier:'''
    * https://getsatisfaction.com/mozilla_messaging/topics/where_is_the_profile_manager_hidden_in_windows_8
    * http://kb.mozillazine.org/Profile_Manager
    Note: 'Start>Run>Thunderbird.exe-p' is not correct, so you are not following the instructions. Please read info at the above links above to enter the correct path. the info for Win7 and win8 are the same.
    However, before going down that route ; I preume you have already created a Profile in Win7 machine; please read the following information.
    re: 'trying to manually transfer my address book etc. from TB on my desktop [windows XP ] to my Laptop running widows 7.'
    So are you trying to just migrate the address book or the entire Profile?
    '''If just migrating various Address Books.'''
    The 'Personal Address Book' and the 'Collected Addresses' are default Thunderbird files. These files can be copy pasted from one profile to another.
    To see Profile folders:
    * make hidden files visible: http://kb.mozillazine.org/Show_hidden_files_and_folders
    * In XP Thunderbird, 'Help' > 'Troubleshooting Information'
    * click on 'Show folder'
    * close Thunderbird now.
    * scroll down and look for 'abook.mab' and 'history.mab'
    * copy those files and move to same location on the Win7 machine.
    For other address books.
    * In XP Thunderbird
    * select 'Address Book'
    * select the name of the address book
    * Tools > Export
    * choose where to save
    * give suitable filename
    * Save as type: comma separated .csv or LDIF
    * Copy that file to desktop of new Win7 computer.
    Then in Win7 Thunderbird Address Book
    * Tools > Import
    * Choose the saved address book and click on Open.
    '''If you want to migrate the entire Profile:'''
    This can be done manually or using a tool called MozBackup. See info at this link:
    * http://kb.mozillazine.org/Move_to_a_new_PC
    When manually copy pasting files, I presume you have installed Thunderbird on new win7 machine and allowed it to run for the first time to create a Profile, but did not choose to create any existing accounts. So you have a Profile, but no mail accounts except for the default Local Folders.
    The files you need to copy are:
    * In XP Thunderbird, 'Help' > 'Troubleshooting Information'
    * click on 'Show folder'
    * close Thunderbird now.
    This shows you all the files '''in''' your Profile folder. These are the files you need to copy and paste into the new Profile folder in Thunderbird on Win7 machine, overwriting the default created files.
    now open Thunderbird.
    '''Additional info: on Profile folder: '''
    * http://kb.mozillazine.org/Profile_folder_-_Thunderbird

  • Execute executable jars without jar.exe in system path???

    Hello all,
    I could run an executable jar file on my workstation once I configured its MANIFEST.MF file with its Main and class-path attributes. But, the execution failed when I tried to copy this executable jar file alongwith other required jar files to a workstation not having jar.exe in the path! However, the same programme executes successfully when I run it using a batch file where I set jar.exe in the path. is it possible to configure MANIFEST.MF file with system path?
    thanks in advance.

    Actually you don't need Jar.exe to run jars.yes, you are right! actually, I need another dll file in the system path to execute the application. how can I add this dll file to the path when running the application using executable jar.
    BTW, thanks for the reply!!
    note: the dll file required in the path is bundled alongwith other jar files.

  • Error: 0x8007041D on a computer running Microsoft windows non-core edition, run 'slui.exe 0x2a 0x8007041D ' to display the error text

    OS : Windows Server 2012 R2
    Windows Activation Error
    Error: 0x8007041D on a computer running Microsoft windows non-core edition, run 'slui.exe 0x2a 0x8007041D ' to display the error text
    Description :
    The server did not respond to the start or control request in a timely fasion

    Try the following:
    Uninstall and Re-Install the PK
    Open up an elevated cmd and enter the following commands:
    slmgr –upk
    This will uninstall the current Product Key
    slmgr –cpky
    This will clear the product key from the registry
    slmgr –rilc
    This will re-install the System License Files
    slmgr –ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    This will install your Product Key
    slmgr –ato
    This will activate your Product Key
    NOTE: Useful commands for SLMGR
    -dli -> Display License information
    -dly -> Display detailed License Information
    -upk -> Uninstall Product key
    -ipk -> Install Product Key
    -ato -> Activate Windows
    -rearm -> Reset the Licensing Status of the machine
    This post is provided AS IS with no warranties or guarantees
    , and confers no rights.

  • Run .jar as window services.

    Hi,
    I?ve tried running .jar using batch file in window scheduler. The program will auto end if we logoff from the OS(window server 2003).
    How can we run .jar as window services, beside using Java wrapper?
    Most window wrapper need license to execute. I will like to deploy this .jar as window services in our customer side.

    You have to chose the option while creating the task as "When my computer starts", this will work as soon system boots up and until the task is explicity stopped later. This works independent of user logging into the computer; as soon the machine boots up to windows.
    If you choose "When I login" during task scheduling, the task becomes active as log as you have logged on to that desktop.
    Hope this helps.

Maybe you are looking for

  • Accounting entries at billing and excise invoice creation in J1IIN

    Hello Guruz I need to know the accouning entries at the time of billing and the excise invoice creation in J!IIN. Thanks in advance. Regards.

  • Querying for a script insert multiple selected objects...

    Is there a script or plugin which insert multiple selected objects in one new text frame with one click? And is there a script or plugin which extract the content of anchored text frame out it's frame and replace it with it's frame. and extract selec

  • How to see all my images in a large 3D world

    I have a 14 rectangles (shapes created in AE) distributed around a 3D world.  I have a camera (attached to a null) flying through the world to look at each one of the rectangles for a bit, and then move on. In order to get nice flowing camera moves,

  • Can't get the page to change

    I don't really know much about actionscript, but I want the login page to show up when the movie start, to go away when someone logs in and to come back if someone logs out.  I also want the pages to appear dynamically and not use goToAndStop or .vis

  • Accursed packages

    hi, ive never much used packages before so this may be a very simple problem but its got me foxed. I have a class "myClass" in a package "firstPack". I want this to call upon another class "helperClass". There will probably be more classes that it wi