• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can you have a mobile JDK?

 
Davy Kelly
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
David Nemeskey
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Davy Kelly
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic