You are not logged in.

#1 2014-08-20 14:42:34

cheqmate
Member
Registered: 2014-08-20
Posts: 4

[SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

Anyone else running into issues with the Java wrapper section of the i2p build (/etc/profile.d/jre.sh file does not exist)?

I found a reference in the Arch Wiki that the file is no longer provided by any package.

Not sure what should be in the file in order to create it, or if I can point the build script somewhere else.

Last edited by cheqmate (2014-08-20 16:13:27)

Offline

#2 2014-08-20 14:58:35

cheqmate
Member
Registered: 2014-08-20
Posts: 4

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

Never mind, I changed the build script to point to /etc/profile.d/jdk.sh

Offline

#3 2014-08-20 15:02:56

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

What the hell is jdk.sh?

% pkgfile /etc/profile.d/jre.sh
extra/java-common
% pkgfile /etc/profile.d/jdk.sh
1

Offline

#4 2014-08-20 15:26:34

cheqmate
Member
Registered: 2014-08-20
Posts: 4

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

jdk.sh must have been created when I installed the Oracle JDK and removed all of the open java stuff.

Offline

#5 2014-08-20 15:46:47

cheqmate
Member
Registered: 2014-08-20
Posts: 4

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

I would close this topic or mark it as resolved, but the method for doing so is not apparent.

Offline

#6 2014-08-20 15:53:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

You edit the first post and do it manually.

Offline

#7 2014-08-21 07:27:50

Wikimig
Developer
From: France
Registered: 2004-12-10
Posts: 77
Website

Re: [SOLVED] I2p upgrade failing - /etc/profile.d/jre.sh file not found

/etc/profile.d/jre.sh and jdk.sh were provided by jre7-openjdk-headless. With latest packages, only jre.sh is provided by java-common, jdk.sh is not provided anymore. You can still use a jdk.sh just like any other profile file, it just won't belong to any package.

There is a "warning" about that on the wiki

Offline

Board footer

Powered by FluxBB