Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Add missing java-profile-deb.erb#1

Open
asgeirf wants to merge 1 commit intofatmcgav:developfrom
asgeirf:develop
Open

Add missing java-profile-deb.erb#1
asgeirf wants to merge 1 commit intofatmcgav:developfrom
asgeirf:develop

Conversation

@asgeirf
Copy link
Copy Markdown

@asgeirf asgeirf commented Aug 6, 2014

Had some issues getting this running on ubuntu. Here's a possible fix, and thanks for the module!

@asgeirf
Copy link
Copy Markdown
Author

asgeirf commented Aug 7, 2014

Just noticed, there may be some issues with JAVA_HOME as well on debian-based systems. Don't have time to investigate further, but I assume the following is missing in params.pp (in the case of openjdk):

@@ -59,6 +60,7 @@ class karaf::params {
     }
     Debian  : {
       $java7_openjdk_package = 'openjdk-7-jdk'
+      $java7_openjdk_home    = "/usr/lib/jvm/java-1.7.0-openjdk-$architecture"
       $java7_sun_package     = undef
     }
     default : {

@fatmcgav
Copy link
Copy Markdown
Owner

fatmcgav commented Aug 7, 2014

Yeh, I haven't done any testing on Debian as yet... Looks like a sensible addition...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants