Skip to main content

How to change java path from jre to jdk in glassfish

3 replies [Last post]
rbambati
Offline
Joined: 2011-06-03

Hi,

Glass fish 3.1 Application Server default java path is jre. But i want to change jre to jdk. How to change that?

can anybody help on this...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
wasedaxiao
Offline
Joined: 2003-06-13

You can use env variable JAVA_HOME to point to your jdk. GF can pick it up then.

rbambati
Offline
Joined: 2011-06-03

I did that bfore but by defalut its taking jre only. its not working.

rbambati
Offline
Joined: 2011-06-03

I had changed in glassfish env batch. now its working fine