Keep in mind that Java doesn't strictly require any of the formal install process that systems like Mac and Windows surround it with. bin/java -jar /Users/myuserid/myJar.jar If all is well after doing that, you can launch any JAR file from that flash drive mount directory with cd /Volumes/flashMount/Java/Home/ java -version to verify you are running it. cd into the $JAVACOPY/bin (where $JAVACOPY is the directory structure you copied) and you can run. It should automount and you open up a terminal to the root of that mount. Once you have it on the drive, you just plug it into another Mac. On my Mac OsX 10.9.5 it's /Library/Java/Home. So assuming you only intend to run it on comparable machines, it's as simple as copying the directory structure from the root of the Java install directory. For example, you won't reliably (or at all) be able to install Mac 圆4 java binaries on a flash drive and try to run it on a Windows machine. This should be simple assuming you only plan on using it on comparable systems. It sounds like you just want to have the JVM/JDK on some portable media that you can run from after you plug it into another computer. I have a computer I can do it on with admin privileges
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |