Ok so I setup a command file for mucommander.
If I run it from command prompt - it always loads fine:
@echo off
set path=c:\activeapps\Java6\bin
set BEGINLIBPATH=c:\activeapps\Java6\bin
set CLASSPATH=c:
cd c:\activeapps\JavaApps\MuCommander
java -jar mucommander.jar
But I was trying get it to work so it will load by just double clicking the file in the gui instead of needing to load the command prompt.
So I set it up like this:
@echo off
set path=c:\activeapps\Java6\bin
set BEGINLIBPATH=c:\activeapps\Java6\bin
set CLASSPATH=c:
cd c:\activeapps\JavaApps\MuCommander
javaw -jar mucommander.jar
But when I double click the icon, it only loads the java app 1/2 of the time.
Each time the system resources goes to 99%, like it is loading, but often times it just doesn't load.
But, like I said, if I run it in full screen/command line mode it always runs.
Are you just always supposed to run cmd files in the command line only, or am I missing something?
Thanks!
I get similar behavior when I try to load it as a program object.
If I use javaw:
Path: C:\ACTIVEAPPS\Java6\BIN\JAVAW.EXE
Parameters: -jar c:\activeapps\JavaApps\MuCommander\mucommander.jar
The system resources go to 99%, but it doesn't load.
If I use java:
Path: C:\ACTIVEAPPS\Java6\BIN\JAVAW.EXE
Parameters: -jar c:\activeapps\JavaApps\MuCommander\mucommander.jar
Then I get this command line error:
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x161edb61, pid=112, tid=7340050
#
# JRE version: 6.0-b22
# Java VM: OpenJDK Client VM (19.0-b09 mixed mode os2-x86 )
# Problematic frame:
# V [JVM+0x25db61]
I haven't tested any other java apps yet so maybe it's just this one.
Hi David,
I don't know the answer to your set problem because I always ose a program object to start java programs.
In the properties dialogue I have the following [example using jalbum]
Path & File name: c:\openjdk6-ga\bin\javaw.exe
Parameters: -Duser.home=h:\java-apps\jalbum -Xmx400M -jar jalbum.jar
Working Dir: h:\java-apps\jalbum
I have yet to find a java application that will not work using the above outline, changing the parameters and working dir as necessary - that is always assuming the java application will run with the versions of java we have.
ivan
Hi Ivan,
Thanks for the info.
I did a test of another app and it works - so it seems like it's an issue with that specific app in window mode.
Hi David
Here are the contents of a simple cmd file to start mucommander:-
J:\Java\openJDK6\bin\javaw.exe -jar J:\Java\muCommander\mucommander.jar
However, a cmd file is not really needed as the above values could easily be used in a Program Object to run muCommander.
The problems you seem to be having with this app could be the result of an incorrect libc063/4.dll file installed. Are you using the latest libc064 package? - It was here http://hobbes.nmsu.edu/download/pub/incoming/libc-0_6_4-csd4.wpi but I have no idea where it now is on hobbes and searching hobbes does not find the package...
Looks like it is on netlabs ftp://ftp.netlabs.org/pub/gcc/libc-0_6_4-csd4.wpi
Regards
Pete
Quote from: Pete on 2012.03.08, 02:48:50
The problems you seem to be having with this app could be the result of an incorrect libc063/4.dll file installed. Are you using the latest libc064 package?
Wow, thanks Pete - that totally solved the issue.
I'm constantly amazed how much you guys know here.. :).
Hi David
More a case of remembering what we've already been bitten by... ;-)
Regards
Pete