Cannot use JDK Commands - NOT YOUR NORMAL NEWBIE POST
Posted: Fri Feb 06, 2004 8:40 pm
OK, I know there are tons of posts on this issue, but nothing that would resolve my issue.
I am running Windows XP Service Pack 1. I have installed Textpad v4.7.2 I then installed j2eesdk-1_4-dr-windows-eval.exe from java.sun.com Installed it, added the JDK Commands based on the html guide located at http://www.textpad.com/support/faq/java.html and adding the path to the bin directory to environment variable PATH
After that, I could compile java, run java applet, and run java application without an issue. I then went to run an applet in Internet explorer v6...BUT it wouldn't run since the Microsoft VM is out of date. Obviously I can use -target 1.1 on the command line for the javac.exe compiler call, but that isn't the best solution.
Any solutions????
I noticed that j2eesdk1.4 installs what it calls a private jre and that it may or may not register with my browser. It indeed did not register any sun java vm within my browser. So, I downloaded j2re-1_4_2_03-windows-i586-p.exe and installed that. Now I have Sun Java running in my browser and that works just fine.
*****Here is where the problem comes in******
BUT now none of the Java tools in textpad work any longer, I get C:\WINDOWS\SYSTEM32\JAVAC.EXE THE SYSTEM CANNOT FIND THE SPECIFIED FILE. Indeed it cannot, javac.exe is not in the c:\windows\system32 folder....however it is still in my PATH variable and I can run JAVAC.EXE from any command line or a run dialog box. Thinkinhg the issue is that the JRE isntallation modified registry keys that Textpad uses for the locatin of the java executables I checked the write up about How does TextPad locate the JDK programs? located at http://www.textpad.com/support/faq/java.html WELL guess what, I do not have the registry keys that you tell me to check.In fact I have no registry key that contains the text Java Development Kit I have a JavaHome registry key under ...\Javasoft\Java Plug-in\1.4.2_03, under ..\Javasoft\Java Runtime Environment\1.4 AND \1.4.2_03 BUT these weren't there prior to the JRE installation
Obviously I can create my own tool and configure it exactly the same way as the JDK Commands are configured, but I think it would be worthwhile to find out why the native JDK commands in Textpad are getting confused after the JRE installation...
I am running Windows XP Service Pack 1. I have installed Textpad v4.7.2 I then installed j2eesdk-1_4-dr-windows-eval.exe from java.sun.com Installed it, added the JDK Commands based on the html guide located at http://www.textpad.com/support/faq/java.html and adding the path to the bin directory to environment variable PATH
After that, I could compile java, run java applet, and run java application without an issue. I then went to run an applet in Internet explorer v6...BUT it wouldn't run since the Microsoft VM is out of date. Obviously I can use -target 1.1 on the command line for the javac.exe compiler call, but that isn't the best solution.
Any solutions????
I noticed that j2eesdk1.4 installs what it calls a private jre and that it may or may not register with my browser. It indeed did not register any sun java vm within my browser. So, I downloaded j2re-1_4_2_03-windows-i586-p.exe and installed that. Now I have Sun Java running in my browser and that works just fine.
*****Here is where the problem comes in******
BUT now none of the Java tools in textpad work any longer, I get C:\WINDOWS\SYSTEM32\JAVAC.EXE THE SYSTEM CANNOT FIND THE SPECIFIED FILE. Indeed it cannot, javac.exe is not in the c:\windows\system32 folder....however it is still in my PATH variable and I can run JAVAC.EXE from any command line or a run dialog box. Thinkinhg the issue is that the JRE isntallation modified registry keys that Textpad uses for the locatin of the java executables I checked the write up about How does TextPad locate the JDK programs? located at http://www.textpad.com/support/faq/java.html WELL guess what, I do not have the registry keys that you tell me to check.In fact I have no registry key that contains the text Java Development Kit I have a JavaHome registry key under ...\Javasoft\Java Plug-in\1.4.2_03, under ..\Javasoft\Java Runtime Environment\1.4 AND \1.4.2_03 BUT these weren't there prior to the JRE installation
Obviously I can create my own tool and configure it exactly the same way as the JDK Commands are configured, but I think it would be worthwhile to find out why the native JDK commands in Textpad are getting confused after the JRE installation...