hi to all
downloaded latest java6 for ecom. Ibelieve I have inatalled all required files,
trying to use genealogyJ which requires java 5 and above. upon launch i get
error msg cannot find main class and pgm will exit.
Any suggestions, thoughts to get around this problem would be greatly appreciated
any futher info to analyze, let me know
regards
Phil Ryan
Hi Phil
I took the liberty to change the subject of the thread.
The programs runs fine.
The installer runs fine with "java -jar genj_install-3.0.jar"
Once you install it, go to the folder installed and run:
"java -Xmx512m -Xms32m -jar run.jar"
The problems seems to be that run.cmd calls javaw, and it is not working in this case.
I hope this helps.
Hi martin
Thanks for your response.
Itried the install command (cli) on two java programs genJ and money dance.
both returned the same message could no access jar file. Both appear to be windows
installers of .exe type I don't believe these to be jar files hence the msg.
I then installed both under vista and then copied both to ecom
and ran the second command, both threw exceptions in main class and seem to b be
unhappy with the xms32m part of the command
could this be something amiss in the install of the jre
regards
phil
Hi Phil.
You need to download the .jar installer for genJ.
Here it is: http://sourceforge.net/projects/genj/files/releases/3.0/genj_install-3.0.jar/download
Once you have it run it using "java -jar genj_install-3.0.jar"
martin
downloaded file genJ_install-3.0.jar
running Java -jar genj_install-3.0.jar gave this msg
cannot access jar file genj_install-3.0.jar
phil
Hi Phil
Can you run "java -version" and post the result?
Also, where are you running it. I recommed to add the java directory to your path in the config.sys, and run "Java -jar genj_install-3.0.jar" from the directory where the file is stored.
Regards
Don't use the install thing, it seems to have some sort of platform dependent stuff in it. Use the ZIP file (generic for all platforms).
GenJ seems to work great with the last couple of JAVA 1.6 drops. JAlbum also appears to work with the latest one, but I haven't used it enough to say that it is working properly.
FWIW, I have modified the RUN_JAVA package (run_java__20020714.zip, from HOBBES) to use JAVA 1.3, JAVA 1.4 (original), JAVA 1.5, and JAVA 1.6 (added). I can use any, or all, of them as I wish. In fact I don't have JAVA 1.3 installed, but I use the other three for what works.
One thing that I have done, is set it up to turn off all but one processor, before starting any JAVA (1.4, 1.5, and 1.6, have the SMP problem, I am not sure about JAVA 1.3). This "feature" can cause trouble if you try to use multiple JAVA programs at any one time, since I make no attempt to prevent turning on processors when one program finishes, but another is still running. This feature also causes problems with a single processor machine, but is easily disabled.
Hi martin
I ran java -version and found 142 09
after having a real fun time getting 142 out of the enviroment
java -version saw the openjdk
put gen_install-3.0.jar in its own directory and ran the
java -jar genj_install-3.0.jar and progrom installed ok
program seems to run ok, will test more later
thanks for your help
regards
Phil
dougb
thanks for your response. by the time i read your post I had already
installed via the install jar file and everything seems to work ok.
regards Phil