Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
problem with java & tomcat
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Raz0rEdge" data-source="post: 1929558" data-attributes="member: 110816"><p>Not sure how you installed all of these, but Homebrew, for example, installs the <strong>brew</strong> as a link in the /usr/local/bin directory pointing to its real location. Since /usr/local/bin is in your default path, <strong>brew</strong> works.</p><p></p><p>All packages from Homebrew end up in the /usr/local/Cellar folder, as would Tomcat.</p><p></p><p>If you install OpenJDK through HB, it won't go to the /Library/Java folder. If you install OpenJDK through an independent installer, it might end up there.</p><p></p><p>Either way, in the terminal "echo $PATH" to show you what folders you are looking in and that'll tell you where you are looking for things and if your things are in a different folder, you'll have to adjust the path to compensate.</p></blockquote><p></p>
[QUOTE="Raz0rEdge, post: 1929558, member: 110816"] Not sure how you installed all of these, but Homebrew, for example, installs the [B]brew[/B] as a link in the /usr/local/bin directory pointing to its real location. Since /usr/local/bin is in your default path, [B]brew[/B] works. All packages from Homebrew end up in the /usr/local/Cellar folder, as would Tomcat. If you install OpenJDK through HB, it won't go to the /Library/Java folder. If you install OpenJDK through an independent installer, it might end up there. Either way, in the terminal "echo $PATH" to show you what folders you are looking in and that'll tell you where you are looking for things and if your things are in a different folder, you'll have to adjust the path to compensate. [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
problem with java & tomcat
Top