× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm having some issues with Java this morning after replacing a win xp machine with a win 7 machine(64 bit)

The old machine had java jre6 on it. This machine had a .bat file which called another .bat file on a public drive which in turn called 3 java programs. This has been working for years.

The new machine has jre7 on it and when I run the same .bat file I get a 'java not recognized as an internal or external command'.
In researching I keep seeing that I should update the environment path to point to the java directory. I have done this but without success. The old machine did not have this set up.

I do believe it is simply a path issue, but I'm not sure how to fix it.

First. On the old machine I can go to command prompt and type 'Java -version' this works.
On the new machine, I get the 'java not recognized.... ' error.

Second, If I fully qualify the java calls with the directory for java it will run. I have done this to temporary fix the issue.

Any ideas on how to get this working without the full qualification?

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.