Alfresco while Java_home is set on JDK1.4?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 03:01 AM
Hi
Here is my problem.
I ve been working with Alfresco on my computer, so I had no problem with installing tomcat , JDK1.5 and all the necessary things for Alfresco. But now I must test Alfresco in a wider aspect and thus install it on a machine working as a server so that employees in my company can test Alfresco.
The problem is that on this server there is already JDK1.4 installed and it is needed for other softwares. So I cant install JDK1.5 and link it to the variable Java_Home.
So the only way I can think of is putting Alfresco on a another machine with JDK1.5 but not every company has the money for a second machine.
Although I know this isnt the best place to ask this but is there a way to somehow install JDK1.5 on the server and make it so that only the server tomcat that will host Alfresco will use this JDK1.5?
Something like a personnal Java_home only used by this said tomcat?
I m not very knowledgeable with this and could find nothing on this matter so any help would be appreciated.
If this is indeed the wrong place to ask such a thing about multiple version of JDK coexisting can someone give me an advice to where to look at?
I m using JDK1.5 tomcat 5.5 and Alfresco2.1 community (or the 2.0)
The platform of the server's machine is linux, fedora
Regards
Seraphon
Here is my problem.
I ve been working with Alfresco on my computer, so I had no problem with installing tomcat , JDK1.5 and all the necessary things for Alfresco. But now I must test Alfresco in a wider aspect and thus install it on a machine working as a server so that employees in my company can test Alfresco.
The problem is that on this server there is already JDK1.4 installed and it is needed for other softwares. So I cant install JDK1.5 and link it to the variable Java_Home.
So the only way I can think of is putting Alfresco on a another machine with JDK1.5 but not every company has the money for a second machine.
Although I know this isnt the best place to ask this but is there a way to somehow install JDK1.5 on the server and make it so that only the server tomcat that will host Alfresco will use this JDK1.5?
Something like a personnal Java_home only used by this said tomcat?
I m not very knowledgeable with this and could find nothing on this matter so any help would be appreciated.
If this is indeed the wrong place to ask such a thing about multiple version of JDK coexisting can someone give me an advice to where to look at?
I m using JDK1.5 tomcat 5.5 and Alfresco2.1 community (or the 2.0)
The platform of the server's machine is linux, fedora
Regards
Seraphon
Labels:
- Labels:
-
Archive
2 REPLIES 2

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 03:55 AM
Hi,
You can install jdk 1.4 and jdk 1.5 side by side on the same machine.
After installing 1.5, make sure that your general environment var's include a JAVA_HOME that points to the 1.4 installation (so your other apps keep working)
In the alfresco startup script you can add a line to set the correct java home. This JAVA_HOME will then be used exclusively for tomcat/alfresco.
If you're using windows: in alfresco.bat, add a line at the beginning of the file:
If you're using linux: in alfresco.sh, add a line at the beginning of the file:
cheers,
Roeland
You can install jdk 1.4 and jdk 1.5 side by side on the same machine.
After installing 1.5, make sure that your general environment var's include a JAVA_HOME that points to the 1.4 installation (so your other apps keep working)
In the alfresco startup script you can add a line to set the correct java home. This JAVA_HOME will then be used exclusively for tomcat/alfresco.
If you're using windows: in alfresco.bat, add a line at the beginning of the file:
set JAVA_HOME=<your jdk5 dir>
If you're using linux: in alfresco.sh, add a line at the beginning of the file:
export JAVA_HOME=<your jdk5 dir>
cheers,
Roeland
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2007 05:25 AM
Thanks for the reply, exactly what I wanted to hear (or read to be exact).
Anyways thanks again.
Regards
Seraphon
Anyways thanks again.
Regards
Seraphon
