For all wondering, you are able to get Java on your flash drive to bring anywhere! You can also use compilers and runtime environments on your USB as well.
First, you have to have enough space on your drive. You need about 105 MB of space for the Java, and about 11 MB of space for the runtime environment. I would also recommend space to save your projects. So 120MB of space would suffice.
I would suggest using JCreator. Version 4.5 is already completely portable. Just install it to its own folder on your USB. Don't run this until you have Java on your flash drive because you will have to set configurations for where Java is located.
So the easiest way to get Java on your Flash drive is to install the JDK ... make sure you get the JDK, if you dont, JCreator wont work ... onto your local hard drive. Then, browse through, and delete all readme files, and HTML files. Deleting these files isn't necessary, but it saves space. Then delete all "demo" folders and the "sample" folder. Finally, you can delete the "src" zip file in the main directory. That saves a lot of space. Once done, copy and paste all the files into a folder on you USB.
Then start up JCreator, and specify the folder in which you stored the JDK, but do not specify where the JavaDocs are. They are not needed so are left out for space saving purposes.
When making my Flash Drive Java enabled, i used the JDK 1.6.0_01 ... but to save even more space, I updated the "jre" folder with the JRE 1.6.0_05 which saves you over 10MB of space.
It has worked everywhere i have tested which so far includes 2 school computers with limited access, and 2 home computers, one with administrator access, and one without.
I hope this has helped you get Java on your flash drive, and write me with any questions.
And have you checked %appdata% and HKCU for settings that don't go with you?
Vintage!
I would have to say No, i haven't. I have never developed any portable apps myself, as i don't have the knowledge to do so. So i have a general understanding of what you are asking, because i read the forums, but i wouldn't know how to do what you are asking. I was more focused on getting to be able to compile and run my java on any windows computer.
-- Fate grins in the eye of he who reasons.
http://en.wikipedia.org/wiki/Portable_application
And Java has been requested and discussed many times.
Vintage!
What do you mean "I doubt it works" ?
"Portable" Java is perfectly possible and works just fine.
Just copy your Java-install to your flashdrive, delete all the un-needed stuff,
Sun even provides a list of deletable files/Directories, and re-compress the .jars and exe/dll's if you want to save even more space .
Yeah, it may leave some registry-entries behind, I haven't bothered checking.
The fact that my Java only contains 103 files and takes up 25MB on disk is such an improvement that I can live with any registry-leftovers .
I think the problem PortableApps.com has with portable Java is of a "legal" nature .
where is the list?
It's in one of those MANY text-files included with Java..
..I think the file is ridiculously named "README.txt" ?
Note :
Depending on the program you are running there might be more java-files you can delete but then you are not allowed to bundle JRE with your app and distribute it.
- i ussualy use JRE for running Limewire, it works when use at PC whitout login by administrator (i mean home PC)
- But i want use Limewire or JRE at my office while i'm working. The matter is I cant run them, it shows "please contact administrator" -- when i'm trying to run them. it is because at our office, when we want use PC, it needs login.
I have user and psword, but maybe it is limited for general user.
-I'm interested with portable application such as "opera" that can be run.
-maybe you can help me to enjoying Limewire while working. Thanx a lot
regards ----
Gatot
Sounds like you and your office have different opinions on what to do
with company time :
You want to use LimeWire, they want you to work for the paycheck instead ..
Maybe I could help you enjoying Limewire while working but I'm not sure how long
it would last .. your job that is !
Usually, when you can't do something at work it's because they don't want you to .