Package Details: portfolio 0.68.3-1

Git Clone URL: https://aur.archlinux.org/portfolio.git (read-only, click to copy)
Package Base: portfolio
Description: Track your portfolio performance (finance)
Upstream URL: https://github.com/portfolio-performance/portfolio
Licenses: EPL
Submitter: Cobra
Maintainer: Cobra
Last Packager: Cobra
Votes: 39
Popularity: 0.83
First Submitted: 2015-11-08 10:45 (UTC)
Last Updated: 2024-03-25 13:30 (UTC)

Dependencies (6)

Required by (0)

Sources (2)

Pinned Comments

Cobra commented on 2023-08-19 13:34 (UTC)

Thanks to Bevan, we now have a simple and elegant (compared to my attempt) workaround that lets the PKGBUILD download and use the most recent version of maven (currently 3.9.4). Should not need any intervention from you. :)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »

mr.buffed commented on 2021-03-30 20:39 (UTC)

@AerionFr - Thanks! Finally, that did the trick!

AerionFr commented on 2021-03-30 18:09 (UTC)

@mr.buffed - I had the same issue and fixed it by running sudo archlinux-java set java-11-openjdk

mr.buffed commented on 2021-03-19 09:01 (UTC)

@SoBC - Thanks for your tips! Unfortunately that didn't help, I'm still on version 0.49.4 as this is the last functional version for me. Uninstalling all jdks and maven and reinstalling did not help, very annoying. If I'll find a fix, I'll post it here!

Bevan commented on 2021-01-26 12:59 (UTC)

@whnr: Java 11 is in the Arch repositories. You can either install the entire JDK (jdk11-openjdk) or just the runtime (jre11-openjdk). To build this package, the latter should be sufficient.

whnr commented on 2021-01-26 05:19 (UTC)

Beginner question @SoBc: How do I reinstall maven and java 11? I can only find Java 15 in the packages. Will something else break?

nahno commented on 2021-01-19 20:43 (UTC) (edited on 2021-01-19 20:44 (UTC) by nahno)

@SoBC Thanks! Deleting ~/.eclipse and ~/.java worked for me.

SoBC commented on 2021-01-19 15:14 (UTC) (edited on 2021-01-19 15:14 (UTC) by SoBC)

@mr.buffed I had the same issue. Removing maven and all jdks and reinstalling maven with jdk11 fixed it for me. Also, I deleted ~/.eclipse and ~/.java. Hope this will work for you too!

Cobra commented on 2021-01-17 15:25 (UTC)

Starting with v 0.50.0, portfolio requires Java 11 to build. Since attempts to build with the current Java version (15) fail, I've modified the PKGBUILD and set a hard dependency on Java 11, at least for the time being.

mr.buffed commented on 2021-01-16 12:10 (UTC) (edited on 2021-01-16 12:11 (UTC) by mr.buffed)

Downloaded and built the latest install, but receiving the following error in the log file mentioned after starting the program:

java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1461)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1434)

I tried to delete the ~/.eclipse and ~/.java directories, but that did not help. Any suggestions?

urboro commented on 2021-01-11 18:09 (UTC) (edited on 2021-01-11 19:26 (UTC) by urboro)

It seems like Java 8 is not supported any more. Minimum requirement (and maybe only supported version?) seems to be 11.

https://github.com/buchen/portfolio/issues/1964

I experienced build errors and then found the above issue. I had to modify the line 35 in PKGBUILD

export JAVA_HOME=$(archlinux-java-run --min 8 --max 14 --java-home)

in order to avoid java 8 and java 14, because both caused build failures for me.