• 0

'jview' is not recognised as a command


Question

My OS is WinXP Prof with SP1. I use a java based tool called docsisdiag to query my cable modem. It is executed using a bat file the content of which is

jview /cp docsdiag.jar docsdiag -vv | more

pause

It was working fine until today. It needs Microsoft Java Virtual Machine and to my knowledge it is still there. But from today onwards, when I call this bat file, I get the following error.

'jview' is not recognized as an internal or external command, operable program or batch file.

I checked my system32 folder and jview.exe is still there. I tried uninstalling and re-installing MSJVM but no use. Then I tried copying jview.exe to docsisdiag folder and then call it from command prompt and it finally worked. But the problem is the "| more" argument is not working and since the output spans to about 10 pages, I cant read first few pages.

Similiarly I tried calling "java" instead of "jview" as Sun JRE is also installed. But both of them are not working.

Please help me. I wonder what is missing.

Link to comment
https://www.neowin.net/forum/topic/388810-jview-is-not-recognised-as-a-command/
Share on other sites

3 answers to this question

Recommended Posts

  • 0
  hurting101 said:
Sounds like a problem with your path variable.

Start > Run > control sysdm.cpl,,3 > Environment Variables > Make sure %SystemRoot%\system32; is at the beginning of the Path variable, then make sure PATHEXT includes .EXE; in it.

586714831[/snapback]

Surprisingly, everything in my system is just like you said. I wonder whats next.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.