OS/2, eCS & ArcaOS - Technical > Applications
What happend to XUL.DLL?
Joop:
Hello Wim,
--- Quote from: Wim Brul on August 07, 2015, 11:01:04 pm ---java -Dbrowser.cmd="g:\firefox\firefox!el.exe" -Dbrowser.arg0="$url" -Xmx500M -jar JAlbum.jar
--- End quote ---
Didn't know something like "-Dbrowser.cmd", is there a list of such commands.
This did work with my setup, much better than preloading. Thanks for that.
--- Quote from: Wim Brul on August 07, 2015, 11:01:04 pm ---I don't have a firefox!.env file so firefox!l.exe would be better.
--- End quote ---
If you work with one firefox it is possible to do it this way. But if you want to run different versions it will be difficult, however you could start with a cmd file which sets everything right.
Wim Brul:
Hallo Joop,
--- Quote from: Joop on August 08, 2015, 05:00:21 pm ---Didn't know something like "-Dbrowser.cmd", is there a list of such commands.
This did work with my setup, much better than preloading. Thanks for that.
--- End quote ---
No, there is no list of such commands. Yesterday I spent one whole day digging into the problem that you had. I went to your website to get directions on how to get jAlbum working with eComStation and I downloaded jAlbum.zip via the link that you provided. I also downloaded JAlbum_J160.zip from your website and modified it to suit my environment. This way I could recreate the "Couldn't load xul.dll" error. Then I searched the web to find out how to launch firefox from jAlbum and I visited their website. On their forum I found hints on how to do that, but that did not work. I could however download BrowserLauncher.java from that forum. It was actually offered in response to a question from a guy named JoopN (does this ring a bell?) way back in october 2009. With the help of this source code and a lot of experimenting (the comments in the code differ from how it actually works) I arrived at my solution.
You could try and use javaw instead of java to avoid the display of intermediate text windows.
Joop:
--- Quote from: Wim Brul on August 08, 2015, 09:44:35 pm ---Hallo Joop,
--- Quote from: Joop on August 08, 2015, 05:00:21 pm ---Didn't know something like "-Dbrowser.cmd", is there a list of such commands.
This did work with my setup, much better than preloading. Thanks for that.
--- End quote ---
No, there is no list of such commands. Yesterday I spent one whole day digging into the problem that you had. I went to your website to get directions on how to get jAlbum working with eComStation and I downloaded jAlbum.zip via the link that you provided. I also downloaded JAlbum_J160.zip from your website and modified it to suit my environment. This way I could recreate the "Couldn't load xul.dll" error. Then I searched the web to find out how to launch firefox from jAlbum and I visited their website. On their forum I found hints on how to do that, but that did not work. I could however download BrowserLauncher.java from that forum. It was actually offered in response to a question from a guy named JoopN (does this ring a bell?) way back in october 2009. With the help of this source code and a lot of experimenting (the comments in the code differ from how it actually works) I arrived at my solution.
You could try and use javaw instead of java to avoid the display of intermediate text windows.
--- End quote ---
Can' find anything on that date, but I had similar question in March 2009. Forgot that :-(, probably because it didn't work then. There are a lot of things changed. The method on my site does work, its tested that way on my system. Only with versions of JAlbum 12 and up there was a change, same for FF. The answer from David didn't work, it was too short with the knowledge "-Dbrowser.arg0="$url"". I have experimented a lot to get it working by then. Latest FF does respond well to these commands, this was not the case with FF versions around 10 at that time. David has also changed a few things in favor of our OS. If you have the browser right in the register it will start. But with last FF versions I get the error "Couldn't load xul.dll" for some reason. Will be difficult to test because the register has changed for JAlbum. I'm testing if the solution from Wim can be applied to older versions of JAlbum and the latest two FF. You get a lot of combinations for testing and testing takes more and more time. And with an upgrade somewhere I have to test all the programs again if they still work same way. At this moment I'm rewriting the page on JAlbum and do test with JAlbum in order to see what still works and what not.
Joop:
I have updated the page about JAlbum and updated the download with a new command file which will work with several combinations. Tested if it will set up a preview (ie start up the browser with the right page). In the page you can see what combinations are tested, its not endless, but somewhere there is a line or so. You don't need to edit the register (standard browser) or your config.sys (path and libpath). Nevertheless I'm willing to setup a different combination if this is not working on your OS/2-eCS computer. But in that case I need details. One thing I won't do is edit my config.sys, you can work around with other solutions. I hope that with this solution the problems with JAlbum are in the past, except that for the last versions you need a higher version of Java. Again, thanks Wim Brul for the solution.
Joop:
--- Quote from: Wim Brul on August 08, 2015, 09:44:35 pm ---question from a guy named JoopN (does this ring a bell?) way back in october 2009. With the help of this source code
--- End quote ---
Can't stand something like that. Found it, but that was with error=2 problem, yesterday I had an other search word. The solution given was java "-Dbrowser.cmd=firefox -Dbrowser.arg=@url -Xmx400M -jar JAlbum.jar", but that won't work. I never got the idea to replace @ with $, but I'm not sure, I've deleted all JAlbum before version 10.1.0 and with it also all setups for trying out. From version 10.1.0 and up it did work as on my page which is replaced yesterday. I can't keep track records that deep, sorry.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version