#is there an openjdk rpm that doesn't include the graphical components of the jdk?

1 messages ยท Page 1 of 1 (latest)

static patio
#

trying to keep things minimal

mystic kernelBOT
#

<@&987246964494204979> please have a look, thanks.

#

Here is an AI assisted attempt to answer your question ๐Ÿค–. Maybe it helps! In any case, a human is on the way ๐Ÿ‘. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.

#
TJ-Bot
Trying to keep things minimal

Yes, there is an OpenJDK package called "java-1.8.0-openjdk-headless" that excludes the graphical components of the JDK. This package is specifically designed for systems where minimal resources are desired or where graphical support is not needed.

You can install this headless version of OpenJDK using the following command on CentOS/RHEL-based systems:

sudo yum install java-1.8.0-openjdk-headless

Alternatively, on Debian/Ubuntu-based systems, you can use the following command:

sudo apt-get install openjdk-8-jre-headless

By installing this headless version of OpenJDK, you can reduce the overall footprint of the JDK on your system by excluding unnecessary graphical components. This can be particularly useful in server environments or when running Java applications that do not require a graphical user interface.

Keep in mind that while the headless version excludes graphical components, it still provides all the core functionality and libraries of the standard JDK for running Java applications efficiently.

static patio
#

it doesn't include javac :/, hence the question

grave parcel
grave parcel
left vale
#

why would you need that? you can use the module system

static patio
#

I'm in a server environment where there isn't a display to render graphics on in the first place

left vale
#

as long as you dont include java.desktop components, they wont be included in your app when packaging. youll have to use jlink to create a runtime though

left vale
#

server sided rendering is actually pretty common these days

static patio
#

huh, til