> I tried it on our application server, and the jsp pages
> would not compile (they compile automatically usually)
[quoted text clipped - 6 lines]
> I would be so pleased if it did work with 1.5 (at present
> we use 1.4)
Wait a minute -- what exactly did you try? Did you write JSP pages
containing scriptlets that make use of Java 1.5 features, and attempt to
compile them on your existing app server? That's bound to fail unless
you ensure that your app server is compiling the pages with a Java 1.5
compiler. The JRE does not contain a Java source -> bytecode compiler,
which JSP page compilation requires.
Any way, we're shooting in the dark. For better-targeted help, post the
first few error messages that you receive, and provide as much detail as
you can about the environment (application server and version, Java
configuration, whatever else may be relevant) and about the code you are
using.
--
John Bollinger
jobollin@indiana.edu
billreyn@gmail.com - 16 Feb 2006 10:20 GMT
I simply changed the jre in the properties file of the
app server and it would not compile any jsp page
at all. But maybe, it simply cannot find the javac
(which is not in the windows jre auto download)
I'll do some more tests with a proper jdk 1.5
instead of jre 1.5.
Thomas Kellerer - 16 Feb 2006 10:37 GMT
> I simply changed the jre in the properties file of the
> app server and it would not compile any jsp page
> at all. But maybe, it simply cannot find the javac
> (which is not in the windows jre auto download)
> I'll do some more tests with a proper jdk 1.5
> instead of jre 1.5.
Which app server are you using? Tomcat does need a JDK it does *not*
work with a JRE
Thomas

Signature
It's not a RootKit - it's a Sony
billreyn@gmail.com - 17 Feb 2006 13:02 GMT
I downloaded jdk1.5.0_02 and installed it. Even
on a simple java class run its gives the error:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
But JDK 1.5.0 is OK in the tests I have done so far
anyway (although I am worried by 4 page not found
errors on my App Server - ie servlets not found!)
So, either my download of jdk1.5.0_02 was corrupted
or there's a fault in it somewhere, (in my opinion).