-------- Original Message -------- Subject: Re: Morpheus Java Error Date: Fri, 28 Jun 2013 12:13:21 -0400 From: Dennis E. Slice <dsl...@morphometrics.org> To: morphmet@morphometrics.org Hmm, this doesn't make sense: a) You can access java from the command line. b) Morpheus runs when double clicked (works with that version of java). c) Batch file doesn't execute. a + b means it should work. c is a mystery. I note in your first message that you had: java-Xmx1g-jar There should be spaces, i.e. "java -Xmx1G -jar" BUT, I don't think that is the issue since the batch file has the proper syntax. One thing to try: cd to the batch file directory and manually type in the commands (remember the spaces). I just opened a Windows 7 virtual machine and installed 32-bit Oracle java. The commands executed just fine - Morpheus didn't run because I can't update the graphics driver on the VM to openGL 1.2, but everything worked up to that point. I will have to find a 64bit Windows to check 64bit 1.7. -ds On 6/28/13 4:59 AM, morphmet_modera...@morphometrics.org wrote:
----- Forwarded message from "Greiner, Thomas" <tgrei...@uwlax.edu> ----- Date: Thu, 27 Jun 2013 11:52:23 -0400 From: "Greiner, Thomas" <tgrei...@uwlax.edu> Reply-To: "Greiner, Thomas" <tgrei...@uwlax.edu> Subject: Re: Morpheus Java Error To: Morphmet <morphmet@morphometrics.org> Does the command line java work? The only program I have to test it on is Morpheus, and the answer is no for that. However, typing "java" on the command line does not produce an error and instead reports the normal list of instructions on how to use the java command. So, I assume that this means that java works on the command line. Access directly means double-clicking the jar file, and that does seem to work. I tried uninstalling and re-installing java. That made no difference. Running java -version from the command line gives me: java version "1.7.0_25" Java(TM) SE Runtime Environment (build 1.7.0_25-bl7) Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode) I accept that this is a java problem on my computer. However, I do not know how to address it. If memory will be an issue, then I will not be able to access more computer memory by adjusting the java settings as implemented within the provided batch file. Am I the only person who has encountered this problem? * Thomas M. Greiner, Ph.D*. Anatomist & Physical Anthropologist Associate Professor Dept. of Health Professions Health Science Center 4065 University of Wisconsin-La Crosse La Crosse, WI 54601 USA 608-785-8476 tgrei...@uwlax.edu <mailto:greiner.t...@uwlax.edu> On Wed, Jun 26, 2013 at 11:39 PM, <morphmet_modera...@morphometrics.org <mailto:morphmet_modera...@morphometrics.org>> wrote: ----- Forwarded message from "Dennis E. Slice" <dsl...@morphometrics.org <mailto:dsl...@morphometrics.org>> ----- Date: Wed, 26 Jun 2013 04:52:24 -0400 From: "Dennis E. Slice" <dsl...@morphometrics.org <mailto:dsl...@morphometrics.org>> Reply-To: "Dennis E. Slice" <dsl...@morphometrics.org <mailto:dsl...@morphometrics.org>> Subject: Re: Morpheus Java Error To: morphmet@morphometrics.org <mailto:morphmet@morphometrics.org> Does the command line "java -version" work? Sounds like it might not be set up to find Java from the command line. The subsequent errors are simply misdirection resulting from the first. By "the program executes when I access it directly", you mean double-clicking the jar file, right? The GUI part of the OS knows where java lurks. A standard java install should take care of this, but you might have to edit the environment search path. I would try a java reinstall before messing about with that. I would be interested in the output of "java -version" when you get it working. -ds On 6/26/13 2:40 AM, morphmet_modera...@morphometrics.org <mailto:morphmet_modera...@morphometrics.org> wrote: > > ----- Forwarded message from "Greiner, Thomas" <tgrei...@uwlax.edu <mailto:tgrei...@uwlax.edu>> ----- > > Date: Tue, 25 Jun 2013 12:02:53 -0400 > From: "Greiner, Thomas" <tgrei...@uwlax.edu <mailto:tgrei...@uwlax.edu>> > Reply-To: "Greiner, Thomas" <tgrei...@uwlax.edu <mailto:tgrei...@uwlax.edu>> > Subject: Morpheus Java Error > To: Morphmet <morphmet@morphometrics.org <mailto:morphmet@morphometrics.org>> > > First off, thanks for developing and releasing the new (and old) version > of Morpheus. > > Second, I seem to have problems with program execution, which I suspect > are really java problems. > > I am running Windows 7 64 bit version. I have the latest (June 13) > release of Java on my computer. > > When I double click on on morpherus_et_al.jar the program seems to > execute just fine. However, the program fails to execute when attempting > to running it through the batch file, as per instructions. Line by line > the batch file works until we get to (commands and response listed): > > java-Xmx1g-jar > 'java-Xmx1g-jar' is not recognized as an internal or external command, > operable program or batch file. > > /morpheus_et_al.jar > '/morpheus_et_al.jar' is not recognized as an internal or external > command, operable program or batch file. > > From here, the batch works fine. > > This result really baffles me, since the program executes when I access > it directly. For what it's worth, the batch file commands do not work > when I run them from a command line either. > > So, any ideas as to what is going wrong? > ** > * > > Thomas M. Greiner, Ph.D*. > Anatomist & Physical Anthropologist > Associate Professor > Dept. of Health Professions > Health Science Center 4065 > University of Wisconsin-La Crosse > La Crosse, WI 54601 USA > > 608-785-8476 <tel:608-785-8476> <tel:608-785-8476 <tel:608-785-8476>> > tgrei...@uwlax.edu <mailto:tgrei...@uwlax.edu> <mailto:greiner.t...@uwlax.edu <mailto:greiner.t...@uwlax.edu>> > > > > ----- End forwarded message ----- > > > ----- End forwarded message ----- ----- End forwarded message -----