Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#104 closed defect (invalid)

JAlbum doesn't start help or album with Firefox

Reported by: Joop Owned by:
Priority: major Milestone: GA
Component: general Version: 1.6.0-b22 RC2
Severity: medium Keywords:
Cc:

Description

There is no Java log, so Java works, got a message from Run that it might be XUL.DLL, but I don't know if this is true. The system beeps once.

Attachments (1)

JAlbum_J160.cmd (2.2 KB) - added by Joop 13 years ago.

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by Joop

Attachment: JAlbum_J160.cmd added

comment:1 Changed 13 years ago by Joop

See last rem line in JAlbum_J160.cmd for setup.

comment:2 Changed 13 years ago by dmik

Milestone: GA
Resolution: invalid
Severity: highmedium
Status: newclosed

Joop, thank you for the report.

This is not an OpenJDK bug though. What jAlbum does (I guess) is it simply issues the firefox shell command passing it the HTML file as an argument. So in order to get it working, you need to make sure firefox.exe is in your PATH (and all required DLLs are in your LIBPATH/BEGINLIBPATH). You may do it by adding the firefox directory to the respective environment variables before starting jAlbum.

Another option is to ask the jAlbum developer to add support for .CMD files when it comes to executing shell commands. This can be done by prepending the command with "cmd.exe /c" (which is probably already done on the Windows platform) so that in case of firefox the command will become:

cmd.exe /c firefox

This way, it won't be necessary to put the firefox directory to PATH/BEGINLIBPATH, it will be enough to have a script called firefox.cmd somewhere in your PATH that will perform all the environment setup for firefox and start it.

P.S. Regarding your specific case, it looks like firefox.exe is in PATH but it cannot find/load some DLLs it needs. You have to fix your environment.

Version 0, edited 13 years ago by dmik (next)

comment:3 in reply to:  2 ; Changed 13 years ago by Joop

Replying to dmik:

Joop, thank you for the report.

This is not an OpenJDK bug though. What jAlbum does (I guess) is it simply issues the firefox shell command passing it the HTML file as an argument. So in order to get it working, you need to make sure firefox.exe is in your PATH (and all required DLLs are in your LIBPATH/BEGINLIBPATH). You may do it by adding the firefox directory to the respective environment variables before starting jAlbum.

Another option is to ask the jAlbum developer to add support for .CMD files when it comes to executing shell commands. This can be done by prepending the command with "cmd.exe /c" (which is probably already done on the Windows platform) so that in case of firefox the command will become:

cmd.exe /c firefox

This way, it won't be necessary to put the firefox directory to PATH/BEGINLIBPATH, it will be enough to have a script called firefox.cmd somewhere in your PATH that will perform all the environment setup for firefox and start it.

P.S. Regarding your specific case, it looks like firefox.exe is in PATH but it cannot find/load some DLLs it needs. You have to check/fix your environment. Here (after adding the firefox folder to PATH/LIBPATH) it starts well.

Oh no, that simple? Will test it.

comment:4 in reply to:  3 Changed 13 years ago by Joop

Replying to Joop:

Replying to dmik:

Joop, thank you for the report.

This is not an OpenJDK bug though. What jAlbum does (I guess) is it simply issues the firefox shell command passing it the HTML file as an argument. So in order to get it working, you need to make sure firefox.exe is in your PATH (and all required DLLs are in your LIBPATH/BEGINLIBPATH). You may do it by adding the firefox directory to the respective environment variables before starting jAlbum.

Another option is to ask the jAlbum developer to add support for .CMD files when it comes to executing shell commands. This can be done by prepending the command with "cmd.exe /c" (which is probably already done on the Windows platform) so that in case of firefox the command will become:

cmd.exe /c firefox

This way, it won't be necessary to put the firefox directory to PATH/BEGINLIBPATH, it will be enough to have a script called firefox.cmd somewhere in your PATH that will perform all the environment setup for firefox and start it.

P.S. Regarding your specific case, it looks like firefox.exe is in PATH but it cannot find/load some DLLs it needs. You have to check/fix your environment. Here (after adding the firefox folder to PATH/LIBPATH) it starts well.

Oh no, that simple? Will test it.

It doesn't work with RUN and I get errors that it doesn't understand /c. Can you upload your cmd file for starting JAlbum. I can get Firefox running, but it seems impossible to pass the file for displaying (helpfile or albumpage) as a file and I get the orignal cmd line for starting firefox as a file.

Note: See TracTickets for help on using tickets.