Actually, a bit sooner in terms of getting it to work with OO. I should have a beta launcher out by the end of the year for people to test out that will allow a portable copy of Java to work with OpenOffice.org Portable.
Sometimes, the impossible can become possible, if you're awesome!
The Java plugin for FF gets the pointer to Java by reading the PC's registry. That's just the way it works. I'd highly doubt you can change that with an extension.
A plugin, perhaps. I'd have no idea where to start. Anybody?
Sometimes, the impossible can become possible, if you're awesome!
Where will it be located? [drive]:\PortableApps\CommonFiles\Java\bin\javaw.exe ?
How will we locate it in a script? I'm thinking environment variable. However, I was going to use GetDrive and then work from there, but you can change the location so that won't work.
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it. (Tom Lehrer)
"If you're not part of the solution, you're part of the precipitate."
So how (user interface wise) would you invoke a jar file with this launcher? Just curious.
Getting apps to find Java is the only difficulty. I just copied the JDK off of my PC to my flash drive and it works fine. I even deleted Java from my PC to make sure. I don't think Java itself has any dependencies on paths other than its own which it seems to be able to figure out relative to the location of the java/javaw command that is invoked.
I got Eclipse to run but I invoke it a little funky with Pstart. Here are the eclipse.exe command line parameters I used for portability:
The paths are relative to the Eclipse directory, where the standard Windows Eclipse launcher is. The "-refresh" tells it to refresh its idea of what is in the workspace. I do this since drive letters can change. The "-data" option points it to the correct workspace. The "-vm" option points it to Java. The Eclipse configuration GUI's don't seem to like relative paths but the command line seems to work just fine with them.
I suppose the workspace thing isn't strictly necessary but then I'd have to manually change it every time my drive letter changed.
I ran it at home where my flash drive is on G: and at work where it's on E:. I won't be able to try it at school until Thursday night.
Startup is a little slower than from a hard drive but using it feels about the same. Of course, I've only played with small projects on it so far. A big one might get more of a speed penalty.
It's too bad Firefox doesn't have a command line option or environment variable to specify the location of the Java runtime. I don't know about OpenOffice.
Also, I wanted to say thank you John for all of your hard work. I've been using PortableApps for quite a while now but just joined the forum today.
This would be for self-contained Java apps... say one JAR file or more than one in a single directory. Big complex apps like eclipse will require custom command lines still.
And you're welcome
Sometimes, the impossible can become possible, if you're awesome!
I'm simply using the executable which gets the VM's path from a command line option.
Would I just -vm ..\..\..\CommonFiles\Java?
Also, with the new extractors, will PAM send via a command line option whether Java is installed portably?
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it. (Tom Lehrer)
"If you're not part of the solution, you're part of the precipitate."
The Sun JRE is indeed free to redsitribute as long as your apps run on conventional PCs and servers. But if you find the JRE footprint too big, check out our Java SE implementation, [url=http://www.excelsior-usa.com/jet.html][u]Excelsior JET[/u][/url]. The latest version adds disk footprint reduction to the feature list.
We would be most interested in hearing from people (interested in) using Java in connection with something like U3 Smart Drive, Ceedo Personal or portableapps.com. My email address is on the Contact Us page of the above referenced Web site.
John is getting a downloads server set up for non-open-source downloads, which means he will be able to get it done.
----
Ryan McCue
Santa: Ho Ho Ho!
Kim: Yes, thank you Santa, I am. (Kath and Kim)
"If you're not part of the solution, you're part of the precipitate."
Topic locked
Please Help Support Us
Please consider making a donation so we can keep bringing you great software.
Johns going to be doing it soon I think when it becomes open source. But that won't be until later
your friendly neighbourhood moderator Zach Thibeau
Actually, a bit sooner in terms of getting it to work with OO. I should have a beta launcher out by the end of the year for people to test out that will allow a portable copy of Java to work with OpenOffice.org Portable.
Sometimes, the impossible can become possible, if you're awesome!
Nice I like the sounds of that
your friendly neighbourhood moderator Zach Thibeau
Maybe with some hacking FF should be able to use it too
Though it would require messing with registry keys that you need admin privs to change.
Maybe we can get a feature request into the FF codebase to point it to the java install.
Sometimes, the impossible can become possible, if you're awesome!
what about an extension to point to a portable java
----
eagle scout
Technology can solve all our problems, like using a laptop for a space heater in a cold tent in the middle of winter.
----
The Java plugin for FF gets the pointer to Java by reading the PC's registry. That's just the way it works. I'd highly doubt you can change that with an extension.
A plugin, perhaps. I'd have no idea where to start. Anybody?
Sometimes, the impossible can become possible, if you're awesome!
This category at MDC looks promising:
http://developer.mozilla.org/en/docs/Category:NPAPI
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)
"If you're not part of the solution, you're part of the precipitate."
Just in time for Christmas
----
eagle scout
Technology can solve all our problems, like using a laptop for a space heater in a cold tent in the middle of winter.
----
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)
"If you're not part of the solution, you're part of the precipitate."
I'm working on a Java launcher that will allow you to launch JAR files and pack em into PAF format files.
It'll be located in PortableApps\CommonFiles\Java
Sometimes, the impossible can become possible, if you're awesome!
I look forward to seeing this soon
your friendly neighbourhood moderator Zach Thibeau
So how (user interface wise) would you invoke a jar file with this launcher? Just curious.
Getting apps to find Java is the only difficulty. I just copied the JDK off of my PC to my flash drive and it works fine. I even deleted Java from my PC to make sure. I don't think Java itself has any dependencies on paths other than its own which it seems to be able to figure out relative to the location of the java/javaw command that is invoked.
I got Eclipse to run but I invoke it a little funky with Pstart. Here are the eclipse.exe command line parameters I used for portability:
-refresh -data ..\..\billd\workspace -vm ..\Java\bin\javaw
The paths are relative to the Eclipse directory, where the standard Windows Eclipse launcher is. The "-refresh" tells it to refresh its idea of what is in the workspace. I do this since drive letters can change. The "-data" option points it to the correct workspace. The "-vm" option points it to Java. The Eclipse configuration GUI's don't seem to like relative paths but the command line seems to work just fine with them.
I suppose the workspace thing isn't strictly necessary but then I'd have to manually change it every time my drive letter changed.
I ran it at home where my flash drive is on G: and at work where it's on E:. I won't be able to try it at school until Thursday night.
Startup is a little slower than from a hard drive but using it feels about the same. Of course, I've only played with small projects on it so far. A big one might get more of a speed penalty.
It's too bad Firefox doesn't have a command line option or environment variable to specify the location of the Java runtime. I don't know about OpenOffice.
Also, I wanted to say thank you John for all of your hard work. I've been using PortableApps for quite a while now but just joined the forum today.
This would be for self-contained Java apps... say one JAR file or more than one in a single directory. Big complex apps like eclipse will require custom command lines still.
And you're welcome
Sometimes, the impossible can become possible, if you're awesome!
I'm simply using the executable which gets the VM's path from a command line option.
Would I just
-vm ..\..\..\CommonFiles\Java
?Also, with the new extractors, will PAM send via a command line option whether Java is installed portably?
----
Ryan McCue
Life is like a sewer. What you get out of it depends on what you put into it.
(Tom Lehrer)
"If you're not part of the solution, you're part of the precipitate."
and here is what i got back
(URL = http://forum.java.sun.com/thread.jspa?forumID=32&threadID=5113910 )
"
b]Disclaimer:[/b] I do work for the company which product is mentioned below.
The Sun JRE is indeed free to redsitribute as long as your apps run on conventional PCs and servers. But if you find the JRE footprint too big, check out our Java SE implementation, [url=http://www.excelsior-usa.com/jet.html][u]Excelsior JET[/u][/url]. The latest version adds disk footprint reduction to the feature list.
We would be most interested in hearing from people (interested in) using Java in connection with something like U3 Smart Drive, Ceedo Personal or portableapps.com. My email address is on the Contact Us page of the above referenced Web site.
Dmitry Leskov
Excelsior LLC
"
well im kinda diing this post up a bit, its 2007 any news yet? im willing to test!
John is getting a downloads server set up for non-open-source downloads, which means he will be able to get it done.
----
Ryan McCue
Santa: Ho Ho Ho!
Kim: Yes, thank you Santa, I am.
(Kath and Kim)
"If you're not part of the solution, you're part of the precipitate."