LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2020, 10:24 AM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: DC
Distribution: RHEL/CentOS
Posts: 1,330
Blog Entries: 4

Rep: Reputation: 160Reputation: 160
Question Setup Java Correctly with Bamboo CI so that it runs


I'm labbing at home setting up Bamboo CI, testing it out. I'm using latest CentOS7 VM in VirtualBox.

In order for Bamboo to run from the browser correctly, it needs Java. By default, this is the version of Java that comes out of the box:

Code:
[root@centos7-bamboo java]# java -version

openjdk version "1.8.0_262"
OpenJDK Runtime Environment (build 1.8.0_262-b10)
OpenJDK 64-Bit Server VM (build 25.262-b10, mixed mode)
[root@centos7-bamboo java]#
But this Java doesn't have a directory structure called /usr/share/java, so Bamboo won't start at all.

I installed this version of Java directly from Oracle:

Code:
jdf-15_linux-x64_bin.rpm
Once I installed this rpm, it created /usr/java/share and I changed the path under /etc/profile along with confirming the command alternatives --config java and Bamboo starts, but doesn't have the correct version of Java, with the following error:

Code:
java.lang.IllegalStateException: Unsupported Java version 15 detected
But the version of Java that came with CentOS 7 doesn't have a directory under /usr/java/share.

Is there a way to get around this or fix this? Maybe a soft link under /usr/java/share that points to /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.262.b10-0.el7_8.x86_64/jre/bin/java?

I still get confused on what is Java and JRE and what are the differences.

thanks
 
  


Reply

Tags
bamboo, java


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow internet connecction in Bamboo emilioestevezz Linux - Distributions 1 02-24-2005 06:58 PM
NTFS and Read-write mode (captive and other solutions) in mandrake 9.1 (bamboo) mimithebrain Linux - Newbie 5 05-19-2004 11:23 AM
[URGENT] Internet connection problem w/ bamboo 'n' cable modem humaneasy Mandriva 20 09-11-2003 10:33 AM
No monitor output when Linux Mandrake 9.1 (bamboo) loads SAPnet Linux - Software 6 07-19-2003 01:41 PM
Mandrake 9.1 Bamboo Installation Problems awtoc123 Linux - General 3 03-29-2003 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration