Open yxw opened 1 week ago
Which Java Version are you using?
Java 17 I believe
$> java --version
which javajava 17.0.7 2023-04-18 LTS
Java(TM) SE Runtime Environment (build 17.0.7+8-LTS-224)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.7+8-LTS-224, mixed mode, sharing)
maybe PP is not using my Java 17 which I installed with sdkman
.
$> /usr/libexec/java_home -V
Matching Java Virtual Machines (1):
1.8.0_232 (x86_64) "AdoptOpenJDK" - "AdoptOpenJDK 8" /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home
$> which java
/Users/willyang/.sdkman/candidates/java/current/bin/java
$> echo $JAVA_HOME
/Users/willyang/.sdkman/candidates/java/current
Which Java version should be used to run PP ?
@yxw
PP runs on Java 17
Describe the bug
When save as binary, I ran into
Cannot invoke "java.time.instant.getEpochSecond()" because "instant" is null
error.To Reproduce Steps to reproduce the behavior: File -> Save as -> Binary
Expected behavior
I should be able to export my current portfolio to a binary file (so that I can import it from the newly released iOS app).
Screenshots
Desktop (please complete the following information):