You are not logged in.
Hi there,
I get this error above, if I try building java programs from src, in this case i2p about an AUR.
I hope anyone from you has a clue. I also Reinstall, remove and install following packages:
jre7-openjdk jre8-openjdk jre7-openjdk-headless jre8-openjdk-headless
If I understand this blog post
http://jaykhimani.blogspot.de/2012/09/e … ogram.html
there could be wrong setted environment and also wrong installed binaries, right?
I don't get it realy.
Here the output of "makepkg -sri"
==> Making package: i2p 0.9.25-1 (Mon Apr 25 23:00:21 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found i2psource_0.9.25.tar.bz2
-> Found i2psource_0.9.25.tar.bz2.sig
-> Found i2prouter.service
-> Found i2prouter.sh
-> Found wrapper.config
-> Found router.config
==> Validating source files with sha256sums...
i2psource_0.9.25.tar.bz2 ... Passed
i2psource_0.9.25.tar.bz2.sig ... Skipped
i2prouter.service ... Passed
i2prouter.sh ... Passed
wrapper.config ... Passed
router.config ... Passed
==> Verifying source file signatures with gpg...
i2psource_0.9.25.tar.bz2 ... Passed
==> Extracting sources...
-> Extracting i2psource_0.9.25.tar.bz2 with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Error: could not open `/usr/local/jre/lib/amd64/jvm.cfg'
==> ERROR: A failure occurred in build().
Aborting...
Last edited by Yah (2016-04-27 21:55:24)
Offline
Hi, and welcome to the Arch Linux forums. Can I ask you to please edit your post with English output? https://wiki.archlinux.org/index.php/Fo … s_and_code
tl;dr: Prepend LC_ALL=C to your command.
How are you trying to install that? makepkg? an AUR helper?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Hi, and welcome to the Arch Linux forums. Can I ask you to please edit your post with English output? https://wiki.archlinux.org/index.php/Fo … s_and_code
tl;dr: Prepend LC_ALL=C to your command.
Thanks for the advise!
How are you trying to install that? makepkg? an AUR helper?
I using makepkg (-sri) exclusiv (I added the command also in my first post.
Offline
Please post the output of
archlinux-java status
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Please post the output of
archlinux-java status
The report:
Available Java environments:
java-7-openjdk (default)
Offline
Okay, that looks fine. Java environment setting is a bit of a black art to me, but have you manually set JAVA_HOME somewhere in your shell initialization files, or in '/etc/apache-ant/ant.conf' or '/etc/profile.d/jre.sh'?
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Okay, that looks fine. Java environment setting is a bit of a black art to me, but have you manually set JAVA_HOME somewhere in your shell initialization files, or in '/etc/apache-ant/ant.conf' or '/etc/profile.d/jre.sh'?
JAVA_HOME seems not be set. In the files you ask it isn't and echo $JAVA_HOME report nothing. I set it manual and i could compile i2p. I will set it in the '/etc/profile/jre.sh' or would advise another place?
btw, thanks for your time.
Offline
Matt
"It is very difficult to educate the educated."
Offline