Hello, the kinds folks that replied to my Book Recommendations threadprobablyknow what I'm up to here. I was just wondering whether you can run theJ2SE SDKstraight from a USB key without molesting the host machine. This isbecause I'mpondering using it (and if possible a C++ equivalent) in a net cafe.Totally impractical,I know, but I'm curious as to if it would work. I suspect thatinstallation would requiresome registry gubbins being installed on the host (Windows) machine?Gordy
|
|
0
|
|
|
|
Reply
|
gordon.is.a.moron (21)
|
3/11/2007 10:52:34 PM |
|
<gordon.is.a.moron@gmail.com> wrote in message news:1173653554.473134.123350@8g2000cwh.googlegroups.com...>> Hello, the kinds folks that replied to my Book Recommendations thread> probably> know what I'm up to here. I was just wondering whether you can run the> J2SE SDK> straight from a USB key without molesting the host machine. This is> because I'm> pondering using it (and if possible a C++ equivalent) in a net cafe.> Totally impractical,> I know, but I'm curious as to if it would work. I suspect that> installation would require> some registry gubbins being installed on the host (Windows) machine?>> Gordy>I don't know about running the JDK from a key . . but it is easy enough to run Putty from a USB key ;)Have you considered setting up a remote server (Linux) and just working remotely?--LTP:)
|
|
0
|
|
|
|
Reply
|
Luc
|
3/12/2007 2:08:31 AM
|
|
Luc The Perverse wrote:> > I don't know about running the JDK from a key . . but it is easy enough to > run Putty from a USB key ;)Putty is designed to be easily used from an internet cafe.I don't see any reason why the JDK shouldn't work from a flash drive. It wouldn't have file associations, paths or be installed into the browser, but it should just run. I switch between various JDKs on Linux simply by specifying the path to the binary I want to run each time.Tom Hawtin
|
|
0
|
|
|
|
Reply
|
Tom
|
3/12/2007 2:29:30 AM
|
|
"Tom Hawtin" <usenet@tackline.plus.com> wrote in message news:45f4ba11$0$8728$ed2619ec@ptn-nntp-reader02.plus.net...> Luc The Perverse wrote:>>>> I don't know about running the JDK from a key . . but it is easy enough >> to run Putty from a USB key ;)>> Putty is designed to be easily used from an internet cafe.>> I don't see any reason why the JDK shouldn't work from a flash drive. It > wouldn't have file associations, paths or be installed into the browser, > but it should just run. I switch between various JDKs on Linux simply by > specifying the path to the binary I want to run each time.>> Tom HawtinIf you were running on a Windows machine I would suggest making a batch file to setup your paths - and just use %1 for the drive letter - so you can specify it while calling the batch file.--LTP:)
|
|
0
|
|
|
|
Reply
|
Luc
|
3/12/2007 3:32:42 AM
|
|
Luc The Perverse wrote:> "Tom Hawtin" <usenet@tackline.plus.com> wrote in message > news:45f4ba11$0$8728$ed2619ec@ptn-nntp-reader02.plus.net...>> Luc The Perverse wrote:>>> I don't know about running the JDK from a key . . but it is easy enough >>> to run Putty from a USB key ;)>> Putty is designed to be easily used from an internet cafe.>>>> I don't see any reason why the JDK shouldn't work from a flash drive. It >> wouldn't have file associations, paths or be installed into the browser, >> but it should just run. I switch between various JDKs on Linux simply by >> specifying the path to the binary I want to run each time.>>>> Tom Hawtin> > If you were running on a Windows machine I would suggest making a batch file > to setup your paths - and just use %1 for the drive letter - so you can > specify it while calling the batch file.Some Linucex, like Fedora, use the alternatives mechanism. Another alternative is to use a symlink or mountpoint (UNIX) or drive mapping (MS) to peg the JAVA_HOME directory to the USB - e.g., export JAVA_HOME=/media/EXTUSB/java/or set JAVA_HOME=U:/java/, respectively.These will, of coure, fubar if the USB drive is disconnected, but that shouldn't be a real problem.-- Lew
|
|
0
|
|
|
|
Reply
|
Lew
|
3/12/2007 6:26:09 AM
|
|
gordon.is.a.moron@gmail.com wrote:> ... I was just wondering whether you can run the J2SE SDK> straight from a USB keyI'm curious; why don't you just try it?Or, if you did try it, and you encountered problems - why do you not mention this? And possibly even describe what you tried and what problems you encountered.
|
|
0
|
|
|
|
Reply
|
Thomas
|
3/12/2007 6:41:21 AM
|
|
On Mar 11, 6:08 pm, "Luc The Perverse"<sll_noSpamlicious_z_XX...@cc.usu.edu> wrote:> <gordon.is.a.mo...@gmail.com> wrote in message>> news:1173653554.473134.123350@8g2000cwh.googlegroups.com...>>>> > Hello, the kinds folks that replied to my Book Recommendations thread> > probably> > know what I'm up to here. I was just wondering whether you can run the> > J2SE SDK> > straight from a USB key without molesting the host machine. This is> > because I'm> > pondering using it (and if possible a C++ equivalent) in a net cafe.> > Totally impractical,> > I know, but I'm curious as to if it would work. I suspect that> > installation would require> > some registry gubbins being installed on the host (Windows) machine?>> > Gordy>> I don't know about running the JDK from a key . . but it is easy enough to> run Putty from a USB key ;)>> Have you considered setting up a remote server (Linux) and just working> remotely?>> --> LTP>> :)I can't set up a remote server. Although you've just given me an idea,I could in theory use my PC that is about 10k miles away as a server,but I'm not convinced that would be too practical. Worth ponderingthough.Thanks,Gordy
|
|
0
|
|
|
|
Reply
|
gordon
|
3/12/2007 11:03:25 PM
|
|
On Mar 11, 7:32 pm, "Luc The Perverse"<sll_noSpamlicious_z_XX...@cc.usu.edu> wrote:> "Tom Hawtin" <use...@tackline.plus.com> wrote in message>> news:45f4ba11$0$8728$ed2619ec@ptn-nntp-reader02.plus.net...>> > Luc The Perverse wrote:>> >> I don't know about running the JDK from a key . . but it is easy enough> >> to run Putty from a USB key ;)>> > Putty is designed to be easily used from an internet cafe.>> > I don't see any reason why the JDK shouldn't work from a flash drive. It> > wouldn't have file associations, paths or be installed into the browser,> > but it should just run. I switch between various JDKs on Linux simply by> > specifying the path to the binary I want to run each time.>> > Tom Hawtin>> If you were running on a Windows machine I would suggest making a batch file> to setup your paths - and just use %1 for the drive letter - so you can> specify it while calling the batch file.>> --> LTP>> :)Good idea. Looks like it would work then, which is good.Gordy
|
|
0
|
|
|
|
Reply
|
gordon
|
3/12/2007 11:05:10 PM
|
|
On Mar 11, 10:41 pm, Thomas Schodt <spamtrap0...@xenoc.demon.co.uk>wrote:> gordon.is.a.mo...@gmail.com wrote:> > ... I was just wondering whether you can run the J2SE SDK> > straight from a USB key>> I'm curious; why don't you just try it?>> Or, if you did try it, and you encountered problems - why do you not> mention this? And possibly even describe what you tried and what> problems you encountered.Good question, really. I don't have a lot of time, is the main reason.So I wanted to know the likelihood of it working before spending agesmucking about only to find it was never likely to work.I forgot to mention the machines run on Windows (it being a netcafeand all).Good point, though. Maybe I'm just lazy? ;)Gordy
|
|
0
|
|
|
|
Reply
|
gordon
|
3/12/2007 11:07:34 PM
|
|
gordon.is.a.moron@gmail.com wrote on 11.03.2007 23:52:> Hello, the kinds folks that replied to my Book Recommendations thread> probably> know what I'm up to here. I was just wondering whether you can run the> J2SE SDK> straight from a USB key without molesting the host machine. This is> because I'm> pondering using it (and if possible a C++ equivalent) in a net cafe.> Totally impractical,> I know, but I'm curious as to if it would work. I suspect that> installation would require> some registry gubbins being installed on the host (Windows) machine?Yes. It's possible. Simply copy the installed JDK from another machine.The big question is: what do you understand with "running the JDK"?You can certainly run a Java based application without "installing" the JDK e.g.: e:\jdk\bin\java -jar MyApp.jar, assuming your USB Stick is e:\You can also compile a .java file using e:\jdk\bin\javac MyClass.javaOnly the browser plugin for running applets require a proper JDK installation. If you need to run Ant, make sure JAVA_HOME is defined to point to your USB stick.Setup of environment variables for your IDE depend on your IDE. NetBeans will run happily if you give it the path to the JDK on the commandline (--jdkhome) or through netbeans.confThomas
|
|
0
|
|
|
|
Reply
|
Thomas
|
3/12/2007 11:14:27 PM
|
|
On Mar 13, 12:14 pm, Thomas Kellerer <TAAXADSCB...@spammotel.com>wrote:> gordon.is.a.mo...@gmail.com wrote on 11.03.2007 23:52:>> > Hello, the kinds folks that replied to my Book Recommendations thread> > probably> > know what I'm up to here. I was just wondering whether you can run the> > J2SE SDK> > straight from aUSBkeywithout molesting the host machine. This is> > because I'm> > pondering using it (and if possible a C++ equivalent) in a net cafe.> > Totally impractical,> > I know, but I'm curious as to if it would work. I suspect that> > installation would require> > some registry gubbins being installed on the host (Windows) machine?>> Yes. It's possible. Simply copy the installed JDK from another machine.>> The big question is: what do you understand with "running the JDK"?>> You can certainly run a Java based application without "installing" the JDK> e.g.: e:\jdk\bin\java -jar MyApp.jar, assuming yourUSBStick is e:\>> You can also compile a .java file using e:\jdk\bin\javac MyClass.java>> Only the browser plugin for running applets require a proper JDK installation.> If you need to run Ant, make sure JAVA_HOME is defined to point to yourUSBstick.>> Setup of environment variables for your IDE depend on your IDE. NetBeans will> run happily if you give it the path to the JDK on the commandline (--jdkhome) or> through netbeans.conf>> ThomasBy running the JDK (I should have said using, really) I mean havingthe compileras well as just the JRE, since I want to write and compile on the USBkey. Nothaving applet/browser support would be fine though, since I'm not toworried aboutapplets at the moment (is anyone?).As for using putty, probably not a good idea since the networkconnection hereis horribly slow and the practicalities of running from my home PCwith thetime difference/distance etc. isn't really very sensible.Thanks everyone, though. Looks like it's do-able for what I want,anyway.Gordy
|
|
0
|
|
|
|
Reply
|
gordon
|
3/13/2007 9:27:56 PM
|
|
|
10 Replies
98 Views
(page loaded in 0.087 seconds)
Similiar Articles: Booting Solaris Express x86 from USB Key - comp.unix.solaris ...I've got a problem booting Solaris Express x86 (nv44) from a 2 Gig USB key. My first problem was the installation. When the USB key was present at th... Solaris 10: 500gb USB drive issue - comp.sys.sun.adminI can get OS to detect 8gb usb key without a problem, but not this 500gb ... know solaris doesn't take NTFS. > > Connect it Solaris 10 (X86), run "cfgadm -al", it shows usb ... USB 2.0 DVD Video Grabber problems... - comp.sys.ibm.pc.hardware ...Booting Solaris Express x86 from USB Key - comp.unix.solaris ... USB 2.0 DVD Video ... Capture Device ... The only problem I had was getting my computer to stop running ... way to access btrieve files without ddf - comp.databases.btrieve ...I found Btrieve API in SDK from Pervasive V8 SDK but I can't define keys, fields and other ... Run this to monitor all file system access on the computer, and ... and ... ActiveHome vs Firecracker? I want to use java x10 api to control ...could I use the powerlinc USB controller instead of ... internet technology that lets us write apps that run on ... ve ever seen is their use of it via the windows-only SDK. making a bootable DVD - comp.unix.solarisBooting Solaris Express x86 from USB Key - comp.unix.solaris ... making a bootable DVD ... comp.sys.sun.admin Making bootable CD / DVDs for SPARC - comp.unix.solaris x4100 usb ... Thinkpad R50 Display and boot problem - comp.sys.laptops.thinkpad ...The dots may change when I activate various keys, but ... Booting Solaris Express x86 from USB Key - comp.unix ... solaris... for a U45, XVR-100,XVR-300 or XVR-2500 running ... Possible to run Solaris binaries on Linux/Sparc? - comp.unix ...If you're just compiling on Solaris and running on Linux, you might be able to set up ... Debian GNU/Linux http://www.debian.org/ GPG Public Key ... OpenGL SDK for windows - comp.graphics.api.opengl... for nVIDIA cards it's nvoglnt.dll, there's a key ... run on all machines, first make your program run ... OpenGL SDK OpenGL Software Development Kit Documentation, Sample Code ... Running 49g libraries on 50g - comp.sys.hp48... it to a folder (4) I go into the library menu and push the soft menu key ... on 50g - comp.sys.hp48 HP 50G will not turn on - comp.sys.hp48 Or, try running it off of >USB ... SDK Release Notes | Android Developers... USB driver files are located in the <SDK>/usb ... emulator option -wipe-data) when running your application on the Android 1.0 SDK emulator. Other Notes. MapView API Key Building and Running from the Command Line | Android Developers... signed by the SDK tools with a debug key, so it's ... sign it with the debug key, and install it on the currently running ... up and connected via USB, navigate to your SDK's ... 7/26/2012 6:49:41 PM
|