I've got it fixed now. Originally I had copied the tools.jar file from J2SE 1.4.2 to the \orion directory, just like the installation instructions said, and it didn't work. I also have JDK 1.6.0 on my PC. When I copied its tools.jar to \orion the JSP worked. Problem caused by mismatch between tools.jar the setting of PATH to the SDK? Perhaps, though I had previously reset the PATH in the Windows/DOS cmd window to that for Java 1.4.2 before launching Orion, and that didn't work. Well... apparently solved for now.
I have J2re1.4.2 and JDK1.6.0 on my system, but the J2re1.4.2 doesn't have a tools.jar in its lib directory. What's the difference between J2SE and J2re? I am intrigued by this mystery.......
posted 10 years ago
Well, I know that JRE stands for Java Runtime Environment. On my PC j2skd1.4.2_19 has the following structure:
The Orion server installation instructions specifically mention (as an example) c:\j2skd1.4.2\lib\tools.jar . When I did some more experimenting and changed the system path value to "C:\j2sdk1.4.2_19\bin;C:\j2sdk1.4.2_19\jre\bin" (which works just fine, set at the command line, when compiling and running Java), and used the Java 1.4.2 tools.jar, Orion still wouldn't run my JSP. Changing things back to the Java SKD 1.6.0 path and Java SKD 1.6.0 tools.jar let things work.
So it's looking to me like Orion 2.0.7 would not compile the JSP using j2skd1.4.2_19. Individual results may vary(?).
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.