How to run java on computer without java from flash drive

Im running a chess club at school and the school computers, you aren't allowed to install on the hard drive.
Is there a way to put an ide and the java folder containing the jre and jdk on a flashdrive and run the ide and run programs solely from the lfashdrive?

Yes. put the JDK (not the separate JRE) on the flash drive. The JDK contains a JRE.
Plug the flashdrive into a computer you control. If that computer already has the desired JDK installed, copy the JDK directory (all of it) to the flash drive. Otherwise, do an install of the JDK to the flash drive.
To run Java application programs use a command that provides the full path to the java.exe program, for instance (in Windows)
*<drive letter>:\<some directories>java <the name of your program>*
You could create a bat file to make this easier to type.
You can't run applets or anything else that depends on Registry entries.

Similar Messages

  • What is required for my program to run on a computer without Java installed

    I was just curious if any body knew how to make a Java program that will open and run on a double click without java being installed on that computer. I've seen people mention that we can create a shortcut (though I'm not sure how) so that the program will run on a double click. I've also seen a link to a program that creates .EXE files but I would like to avoid using that.
    I have a small group of friends that I would like to share one of my programs with, but they are not Java programmers and I don't want to clutter up their Hard Drive with the Java JDK or SDK.

    First, make sure you package your program in a JAR file, will make things easier...
    Under the folder you have the SDK installed on your computer, should be a folder named JRE.
    Make a copy of the JRE in a folder underneath where your JAR file resides, for instance...
    You Jar File is:
    C:\JavaProgs\MyProject\TheJar.jar
    Then put:
    C:\JavaProgs\MyProject\JRE\...
    In the C:\JavaProgs\MyProject\ directory, make a Batch file. Batch files are text document scripts that run windows commands. Just use a plain text editor and create a file called RunTheJar.bat.
    The batch file should consist of exactly 1 line:
    start .\JRE\bin\javaw.exe -jar TheJar.jarThen the users can just double-click the batch file to run your program...

  • How do I transfer files to my mac from flash drives

    I'm trying to transfer pictures to my macbook pro from an SD card.  Not sure how.  Please help

    Either your MBP needs to have an SD slot reader built-in or you need to purchase one that connects to the computer via USB port.

  • How to run a remote application (Non Java) from a Java program

    Could you please tell me how to run a remote application (Non-Java) from a Java program without using RMI. Please tell me know the procedure and classes to be used.
    Cheers
    Ram

    what do you mean remote application.In the other pc or in your pc just apart from you application?
    If the application is in your pc,the method which the upper has mentioned is
    a good one!
    But if the application you want to run is not in your computer,the method can't do. And you can use socket with which you can build an application listening some port in the pc which contains the application you want to run .When you want to run that application ,send the Start_Command to the listening application.Then listening application will run the application with the help of the method the upper mentioned.

  • How to run a jar file using Java application.

    Hi all,
    I know that jar file can run using the following command, using the command prompt.
    java -jar jar-fileBut I don't know how to run that command through a Java code. Hope it's clear to you.
    So can you please explain how can I do it.
    Thanks,
    itsjava

    rayon.m wrote:
    The solution given by ropp appears to have nothing to do with what you asked about.Ok sir, I got the point.
    I've try a test as follows. But it doesn't give any output. Even not an exception.
            try {
                String[] temp = new String[]{"java", " -jar", " MainApp.jar"};
                Runtime rt = Runtime.getRuntime();
                Process proc = rt.exec(temp);
                int exitVal = proc.waitFor();
                System.out.println("ExitValue: " + exitVal);
                System.out.println("Temp_Values");
            catch(InterruptedException ex) {
                System.out.println(ex.getMessage());
            catch (IOException ex) {
                System.out.println(ex.getMessage());
            }I've debug and see, but the exitValue is even not exist at run time. Can you tell me where I'm going wrong.

  • How can I change my computer's language from English to Spanish?

    How can I change my computer's language from English to Spanish? My computer is an iMac G3 (CRT) and it has Mac OS 9 installed.

    This isn't possible in Mac OS 9.2.2 and earlier without doing a full installation of the Spanish version of the OS, which requires an installation disk containing it.
    (65772)

  • My one DAG fail then how to run e-mails in my organisation from another DAG that is located another Location.

    Hi
    DAG Failed then how to run e-mails in my organisation from another DAG.
    means the another DAG work automatically or i will do something for outside the DAG.
    Regards
    Anil kumar Gangwar

    Hi,
    In order to resolve the problem more efficiently, I need to clarify some information.
    1. Do you have two AD sites in your environment?
    2. If you have two AD site, do you have active users in these two AD sites?
    3. Does each AD site have a DAG which is cross-site?
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to install Win 7 on Mac using USB flash drive....???

    How to install Win 7 on Mac using USB flash drive....???

    clintonfrombirmingham wrote:
    I thought that installation through Boot Camp required, without hacks, a physical optical disc to install Boot Camp? I don't use it any longer since I run XP under Parallels, but I would swear that you have to use a disc, and not a USB thumb drive, to install Windows?
    Maybe some real Boot Campers will visit this thread...
    Clinton
    If you have the Media you can use it to create a bootable USB key via boot camp assistant.
    It will create the usb and has the option of pre-downlading the drivers and bootcamp utilities for windows.
    It is pretty much all automated and quite simple.

  • How can I save and share movies to a flash drive in Premier Elements 9

    How can I save and share movies to a flash drive in Premier Elements 9
    mobile phones and other devices - only give for ipods and iphones
    export files for viewing on computer -  windows media etc
    I am experienced at burning dvds on the Adobe Premier Elements but new to sharing movies to a flash drive.
    Please help!

    Moti
    Premiere Elements 9.0/9.0.1 on what computer operating system?
    1. USB Flash Drive.
    Go to Share/Computer/ make your export choice.
    In the Save In field for the preset selected, browse to and select the USB Flash Drive
    2. Windows Media
    Share/Computer/Windows Media and select appropriate preset to get you .wmv file
    3. See Share/Mobile Phones and Players
    Remember you can customize the settings under the Advanced Button/Video Tab, Audio Tab, Multiplexer Tab of
    the preset selected.
    Please review the Premiere Element 9 Help PDF, Chapter 15, Saving and Sharing Movies.
    http://help.adobe.com/archive/en_US/premiereelements/9/premiereelements_9_help.pdf
    The above is an overview. We can go into more details after you review the above.
    Thank you.
    ATR

  • How do I restore iTunes library from flash drive backup?

    How do I restore iTunes library from flash drive backup?

    brigdool wrote:
    How do I restore iTunes library from flash drive backup?
    HI Brigdool,
    It depends how you made the backup.
    If you copied your entire iTunes folder onto the flash drive, just copy it back to the appropriate place on the computer.
    If you copied individual folders or files, add them back to iTunes by inserting the flash drive in your computer, and then dragging the files into your "Automatically Add to iTunes" folder.
    The first method recreates your library as it was, with all playcounts, playlists, etc.  The second method builds a new library with the same content.

  • How to install windows 7 in bootcamp from flash drive os x 10.9.1

    How to install windows 7 in bootcamp from flash drive os x 10.9.1

    oooHideooo wrote:
    It DOESN'T WORK!!
    I tried tonnes of method already, and the apple guide method absolutely doesn't work for MacBook Air, 10.9.1
    Did you even tried it yourself????!! with Maverick 10.9.1 you will NOT be able to get pass the bootcamp first page:"install window 7". It will give an error msg saying "The installer disc could not be found"
    My usb confirmed bootable! I created it with bootcamp, and tested it on a different macbook and it works. But doesn't work on MacBook Air. (Even startup disk doesn't detect it as bootable in Air)
    anyone else has a real solution to this problem?
    Thousands have successfully tried it themselves and installed Windows on a Macbook Air. Perhaps if you provided some details about what you did and what errors you observed we could help you. The Boot Camp instaructions, if followed, will produce a successful install.

  • How to run BW reports since BI JAVA is not available in 7.4.

    We have Upgrade our BW 7.0 to BW 7.4 on HANA, How to run our BW reports since BI JAVA is not available in 7.4.
    My scenario: Producer Portal (BW portal ) we are creating/marinating Portal objects ( Folders, roles, work sets ……etc.), which replicate in Consumer portal (EP portal) via Federation framework. In-fact its abstraction layer, not hosting any Portal content physically but giving a unified enterprise access to business.  The actual content and execution of users requests occur on Producer portal itself.
    We have to maintain two portal in this case (consumer & producer).
    In BW 7.4 version,  dual stock is no longer supported. In order to maintain the federation paradigm have to purchase new license & servers for java stack.  What about if we directly integrate our BW reports in EP portal ? what would be draw back or issues in this approach in terms of durability, maintenance administration efforts……….etc . Please suggest us the best design solution for me.  Need expert opinion.
    Now it looks like extra layer (Standalone JAVA stack) to maintain & host?  Agree or no?
    Is federation still have worth or have some else new SAP concept. ?
    Thx,
    Jameel

    Hi Nawab,
    1
    Of course, do additional users and activity also consume ressources of the EP 'machine'.
    If you'll run in performance leak, is depending on the special situation. And of course the AS Java can be tuned/optimized for higher workload.
    Maybe if you are on a virutualized environment, it's easily possible to increase the ressources of the machine/s - or its possible to add additional java-nodes on separate servers...
    Lots of possibilities to increase the workload-power if needed...
    From my personal opinion, I usually recommend a separate BI-Java instance - not shared with other funcitonality.
    2
    Not sure if I get you right.
    There are two technical options to run a ABAP+JAVA Stack on one server.
    In one SAP instance - then ABAP and java processes are controlled in one framework. --> This option is not possible any more under 7.4
    in separate SAP instances - then the two SAP systems are running on same host but each has its on framework/instance running. It is similar to running on separte servers.
    Licensing:
    From an SAP view, there is no additional licensing cost for the separte Java Stack!
    But for sure, if you set it up on a separate server you may have additional cost for OS licensing, VMware, etc. - depending on your infrastructure...
    My recommend, if you plan to move with that stuff to HANA:
    Assuming you have 2-system landscape - DEV and PRD.
    Assuming you are in a virtual environment like vmware.
    Currentently you have two servers - on each a DualStack BW incl. current database on it.
    1. Set up four new machines with half sizing as you currently have.
    2. Split the DualStack and run the two new Java stacks on the new servers.
    3. Migrate your BW ABAP to HANA
         Set up the ABAP Application servers for your BWonHANA on the other two new servers.
    4. Kill/Recycle the two now free servers.
    Regards,
    Stefan

  • How can i open "my computer" in java

    How can i open ]my computer[b in java                                                                                                                                                                                                                       

    Two options:
    1) Execute
    Runtime.getRuntime().exec("explorer.exe ::{20D04FE0-3AEA-1069-A2D8-08002B30309D}");2) Look at javax.swing.JFileChooser
    The first option will do what you want, but it is specific to Windows only (I tested it on XP, I don't know if it'll work on other versions). The second is cross-platform, but won't give you the same view as a native explorer.

  • How can i make the .exe run on the computer without Labview?

    .exe can't run on computer without Labview.  Is there any way?  Thank you.

    You need to install the LabVIEW Runtime engine for your specific LabvIEW version.
    In the project window you can create an installer that includes the Runtime Engine (RTE).
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Use of java on computer without install

    Is it possible to run an application from a removable flash drive that has a copy of the jre.  I am running an application on computers that have had the install run from flash disks but can not run on machines where the installation hasn't been done.

    Yep, I had to do the same hackery when I was in school. Just install the JDK on another machine and then copy it to your flashdrive. You'll probably have to do some manual setup to comfortably use it though, such as manually adding the bin directory to the system's PATH so you can easily run java and javac. Something like
    set PATH=%PATH%;f:\java\bin
    or whatever the path to Java on your flashdrive is.
    Of course when you don't do a proper install you cannot run jar's by double clicking on them, you have no browser plugins and thus can't run applets or webstart things through a browser.

Maybe you are looking for

  • Problem In Executing Query In JSP-Oracle

    I have one Query with some conditions in it. It showing error in JSP page when Run it like FROM keyword not found where expected, but this query running well in Oracle SQL Developer. The query is given below. SELECT SCC.STACK_ID, S.SEVERITY_LOWER AS

  • Loop length for multiple tracks

    Is there a way to set the length of loop repitition, for different tracks? I tried this the other day, with two tracks that I set up to loop, and when I adjusted the loop length in the top of the arrange window, both tracks were affected. I want to h

  • Java Process server0 is not Starting (exitcode -11113)

    Hi, Need your help. My Java AS is not starting after I encounter error during JSPAM component upgrade error. I tried to deploy updates on SAP J2EE ENGINE 7.00 then I got exitcode = -11113 Below is my tail logs i got from dev_server0 file. Appreciate

  • DT for mail adapter

    Hi, In my scenario, i have to read an attachment of a mail and use it as a payload. This is how the data in attachment looks like : COMPUTERISED SPARE PARTS ORDER DEALER CD : 10424 ORDER REF : SP/174 DT.18/12/2007 ORDER TYPE : R ITEM CD QTY 12345678

  • Opportunities of E-Commerce Domain Knowledge in SAP

    Hi Experts, Please let me know the opportunities of E-Commerce / Ecommerce Domain Knowledge in SAP world. What kind of experiences / duration of experience on E-Commerce are suitable for your suggested SAP Module / Area?