I don't have Solaris so I am just venturing a guess. Considering that Sun develops Solaris and Java, I would guess that SUNWj5rt is an official JRE (Java Runtime Environment), that is, the say JRE you would download from the Sun Java web site. This is in contrast to Linux distributions which come a pseudo-JVM that is not fit to run JBossAS (in which case you need the JDK from Sun).
The error your got is because JBossAS really prefers to run with a JDK (which includes the compilers and tools). In ancient times (say 3 or 4 years ago), web containers (such as Tomcat) required a JDK to compile the JSPs found in web applications, and the check for a JDK is still in the startup scripts. You should not have any problem using the JRE unless you are using, in one of your applications, a Java library that needs it.
Hi Peter. Thanks for your reply.
Just a question. If I have understood you right, nowadays you don't need to compile the JSPs using .../lib/tools.jar? Will JBoss run without problems in my case, in which there's no tools.jar?
About the SUNWj5rt, if we believe what the package says, it's not a JRE but a JDK (whatever that means, since there's no /lib directory or things like javac.sh...)
NAME: JDK 5.0 Runtime Env. (1.5.0_11)
Again, thanks for your time.
We have run JBossAS just fine with a 1.5 JRE.
The name is really weird. JDK of course implies it comes with the compiler, but then it qualifies that by saying "Runtime Env." which implies only the runtime portion. On Windows, when you install the JDK, the JDK gets installed in one locaton and the JRE in two locations (under the JDK, and in a second location under Program Files), though the Linux JDK install does not show this dichotomy. Not sure if there is another location on your machine where the whole JDK resides.