Bug 1057022
| Summary: | s-ramp.sh requires JAVA_HOME to be set | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Fuse Service Works 6 | Reporter: | Jiri Pechanec <jpechane> |
| Component: | DT Governance | Assignee: | Thomas Heute <theute> |
| Status: | CLOSED UPSTREAM | QA Contact: | Matej Melko <mmelko> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | soa-p-jira |
| Target Milestone: | DR2 | ||
| Target Release: | FUTURE | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The s-ramp.sh file will not run unless JAVA_HOME is set. To do this, run the command cat ~/.bash_profile and locate the JAVA_HOME property. Remove the # to enable it. s-ramp.sh will now run as expected.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:34:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jiri Pechanec
2014-01-23 11:00:30 UTC
What do the other scripts attempt? Is it safe to assume "java" is in the usr bin or aliased? Both standalone.sh and jboss-cli.sh contains 108 # Setup the JVM 109 if [ "x$JAVA" = "x" ]; then 110 if [ "x$JAVA_HOME" != "x" ]; then 111 JAVA="$JAVA_HOME/bin/java" 112 else 113 JAVA="java" 114 fi 115 fi So if JAVA_HOME is not set, they try to use java that could be on PATH Please bear in mind that the same applies also to *.bat versions of the scripts Brett Meyer <brmeyer> updated the status of jira SRAMP-486 to Coding In Progress Perfect, thanks much. Brett Meyer <brmeyer> updated the status of jira SRAMP-486 to Resolved Corrected upstream Brett Meyer <brmeyer> updated the status of jira SRAMP-486 to Reopened Brett Meyer <brmeyer> updated the status of jira SRAMP-486 to Closed This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |