> Hello, the kinds folks that replied to my Book Recommendations thread
> probably
[quoted text clipped - 9 lines]
>
> 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
:)
Tom Hawtin - 12 Mar 2007 03:29 GMT
> 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
Luc The Perverse - 12 Mar 2007 04:32 GMT
>> I don't know about running the JDK from a key . . but it is easy enough
>> to run Putty from a USB key ;)
[quoted text clipped - 7 lines]
>
> 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
:)
Lew - 12 Mar 2007 07:26 GMT
>>> I don't know about running the JDK from a key . . but it is easy enough
>>> to run Putty from a USB key ;)
[quoted text clipped - 10 lines]
> 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
gordon.is.a.moron@gmail.com - 13 Mar 2007 00:05 GMT
On Mar 11, 7:32 pm, "Luc The Perverse"
<sll_noSpamlicious_z_XX...@cc.usu.edu> wrote:
> >> I don't know about running the JDK from a key . . but it is easy enough
> >> to run Putty from a USB key ;)
[quoted text clipped - 16 lines]
>
> :)
Good idea. Looks like it would work then, which is good.
Gordy
gordon.is.a.moron@gmail.com - 13 Mar 2007 00:03 GMT
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
>
[quoted text clipped - 24 lines]
>
> :)
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 pondering
though.
Thanks,
Gordy
> ... 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.
gordon.is.a.moron@gmail.com - 13 Mar 2007 00:07 GMT
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
[quoted text clipped - 5 lines]
> 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 ages
mucking about only to find it was never likely to work.
I forgot to mention the machines run on Windows (it being a netcafe
and all).
Good point, though. Maybe I'm just lazy? ;)
Gordy
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
[quoted text clipped - 7 lines]
> 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.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 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.conf
Thomas
gordon.is.a.moron@gmail.com - 13 Mar 2007 22:27 GMT
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:
>
[quoted text clipped - 27 lines]
>
> Thomas
By running the JDK (I should have said using, really) I mean having
the compiler
as well as just the JRE, since I want to write and compile on the USB
key. Not
having applet/browser support would be fine though, since I'm not to
worried about
applets at the moment (is anyone?).
As for using putty, probably not a good idea since the network
connection here
is horribly slow and the practicalities of running from my home PC
with the
time difference/distance etc. isn't really very sensible.
Thanks everyone, though. Looks like it's do-able for what I want,
anyway.
Gordy