*
The moose likes Beginning Java and the fly likes Can you have a mobile JDK? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can you have a mobile JDK?" Watch "Can you have a mobile JDK?" New topic
Author

Can you have a mobile JDK?

Davy Kelly
Ranch Hand

Joined: Jan 12, 2004
Posts: 384
Hey there.

Sorry if this is in the wrong forum,

I was wondering if there is a mobile JDK, so that I could store on say a usb flash drive, so that i can write, compile and run java files on any computer, where the flash drive is connected to?

davy


How simple does it have to be???
David Nemeskey
Ranch Hand

Joined: Nov 08, 2006
Posts: 52
Have you tried to just copy the whole JDK directory to the USB? Of course, PATH should be adjusted, or full path of the executables should be used, but as far as I know, the JDK does not really use the registry, so there should be no problems...

Provided you use Windows. If you use *ix, there should be absolutely zero problems.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


but as far as I know, the JDK does not really use the registry, so there should be no problems...

Unfortunately the JDK does use the registry, so I be suprised if this worked.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Davy Kelly
Ranch Hand

Joined: Jan 12, 2004
Posts: 384
Maybe the best word to use would be portable for the compiling and running so on.

its just that when I am at work, I can play on a computer on my lunch hour and would like to try and make a chat program.

they dont have a JDK on the comp, so thats why I would like to have a portable JDK or SDK, i keep getting them mixed up

davy
p.s. thanks for the replys so far
 
Don't get me started about those stupid light bulbs.
 
subject: Can you have a mobile JDK?