Wissen

... statt vermuten

abbrechen
Suchergebnisse werden angezeigt für 
Stattdessen suchen nach 
Meintest du: 

Aufsteiger
Beiträge: 2
Registriert: 20.03.2014

Hallo,

nach langer Zeit möchte ich mir den ProfesstionActiveTraderDE wieder einrichten, auf meinem iMac 2013 mit Intel Chip und MacOS 10.14.6. Die Oracle Java Version habe ich vorhin noch upgedatet auf die neueste 1.8er Version.

 

Der normale ActiveTrader funktioniert tadellos, aber ich würde gerne die Professional Variante nutzen, bekomme aber folgende Fehlermeldung beim Starten aus der Shell:

 

Last login: Tue Feb  8 18:05:45 on console

-bash: usr/libexec/java_home: No such file or directory

Maxs-iMac-10:~ Max$ /Applications/ProfessionalActiveTraderDE.app/Contents/MacOS/JavaAppLauncher ; exit;

[StubDir] /Applications/ProfessionalActiveTraderDE.app/Contents/MacOS

[PlistStyle] Oracle

[JavaRequirement] JVM minimum version: 

[JavaRequirement] JVM maximum version: 

[LanguageSearch] Checking preferred languages in macOS System Preferences...

[LanguageSearch] ... found [de-DE]

[LanguageSearch] ... selected 'de-DE' ('de') as the default language for the launcher stub

[Language] de

[JavaSearch] Checking for $JAVA_HOME ...

[JavaSearch] ... haven't found JAVA_HOME

[JavaCommand] '/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/java'

[WorkingDirectory] /Applications/ProfessionalActiveTraderDE.app/Contents/Java

[Exec] "/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/java" -cp "/Applications/ProfessionalActiveTraderDE.app/Contents/Java/*"  -Xdock:icon="/Applications/ProfessionalActiveTraderDE.app/Contents/Resources/ActiveTrader.icns" -Xdock:name="ActiveTrader Professional" '-Xdock:name=ActiveTrader Professional' '-Xmx780M' '-Duser.dir=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir' '-Djava.library.path=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir/current/lib' '-Djava.class.path=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir/current/lib/update.jar' '-Ddummy.java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol'  com.consorsbank.module.updater.gui.Updater '-uu' 'https://eat.consorsbank.de/update/version.xml' '-c' 'DE' '-m' 'PRO' '-s' 'https://eat.consorsbank.de/activetrader/' 

[Exec] "/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/java" -cp "/Applications/ProfessionalActiveTraderDE.app/Contents/Java/*"  -Xdock:icon="/Applications/ProfessionalActiveTraderDE.app/Contents/Resources/ActiveTrader.icns" -Xdock:name="ActiveTrader Professional" '-Xdock:name=ActiveTrader Professional' '-Xmx780M' '-Duser.dir=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir' '-Djava.library.path=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir/current/lib' '-Djava.class.path=/Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir/current/lib/update.jar' '-Ddummy.java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol'  com.consorsbank.module.updater.gui.Updater '-uu' 'https://eat.consorsbank.de/update/version.xml' '-c' 'DE' '-m' 'PRO' '-s' 'https://eat.consorsbank.de/activetrader/' 

Application type: ATRADER

Update version: 8.1.0

Startup Info - OS: Mac OS X, JVM: 10.0.1, userHome = /Users/Max, userDir = /Applications/ProfessionalActiveTraderDE.app/Contents/WorkingDir

Exception in thread "main" java.lang.NoClassDefFoundError: sun/swing/SwingLazyValue

at com.consorsbank.module.updater.gui.components.ui.ATUpdaterLookAndFeel.initAdditionalCompoundDefaults(Unknown Source)

at com.consorsbank.module.updater.gui.components.ui.ATUpdaterLookAndFeel.getDefaults(Unknown Source)

at com.consorsbank.module.updater.gui.components.ui.ATUpdaterLookAndFeel.init(Unknown Source)

at com.consorsbank.module.updater.util.UpdaterUtils.customizeLAF(Unknown Source)

at com.consorsbank.module.updater.gui.Updater.process(Unknown Source)

at com.consorsbank.module.updater.gui.Updater.main(Unknown Source)

Caused by: java.lang.ClassNotFoundException: sun.swing.SwingLazyValue

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)

... 6 more

 

 

Beim Starten des normalen ActiveTraders erhalte ich folgenden log:

 

Last login: Tue Feb  8 18:11:50 on ttys000

-bash: usr/libexec/java_home: No such file or directory

Maxs-iMac-10:~ Max$ /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/MacOS/JavaAppLauncher ; exit;

Application type: ATRADER

Update version: 8.2.0

Startup Info - OS: Mac OS X, JVM: 1.8.0_321, userHome = /Users/Max, userDir = /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir

-------------------

2022-02-08 18:14:00 INFO:  Current Updater version: 8.2.0

2022-02-08 18:14:00 INFO:  Current ActiveTrader version: initial

2022-02-08 18:14:00 Updater start...8.2.0

2022-02-08 18:14:00 Startup Info - OS: Mac OS X, JVM: 1.8.0_321, userHome = /Users/Max, userDir = /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir

2022-02-08 18:14:00 ATHomeDir: /Users/Max/activetrader/DE-1/

2022-02-08 18:14:00 AdminMode: false

2022-02-08 18:14:00 work.host = https://at.consorsbank.de/update

2022-02-08 18:14:00 user.home = /Users/Max

2022-02-08 18:14:00 user.dir = /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir

2022-02-08 18:14:00 StartATPropertiesFileName = null

ClassPath: null

ParamList: [-c, DE, -s, https://at.consorsbank.de/activetrader/]

2022-02-08 18:14:00 Modification is not set

2022-02-08 18:14:00 image resource: com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:00 resource install path: current/lib/com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:00 [secondlevel]: path: current/lib/com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:00 [secondlevel-2]: path: /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:00 [secondlevel-2]: checking for validity by path: OK

2022-02-08 18:14:00 [secondlevel-2]: set real location: /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:00 found image resource -> /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.legacy.ATClientCore.de.jar

2022-02-08 18:14:01 Initialize SSL

consorsKey path -> /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/config/consors.keystore

2022-02-08 18:14:01 VersionLocation: /Users/Max/activetrader/DE-1/config/version.xml

2022-02-08 18:14:01 currentStartPossible: true

2022-02-08 18:14:01 current resource name: com.consorsbank.lib.core.SharedUtils.jar

2022-02-08 18:14:01 try to find resource

2022-02-08 18:14:01 resource install path: current/lib/com.consorsbank.lib.core.SharedUtils.jar

2022-02-08 18:14:01 [secondlevel]: path: current/lib/com.consorsbank.lib.core.SharedUtils.jar

2022-02-08 18:14:01 [secondlevel-2]: path: /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.core.SharedUtils.jar

2022-02-08 18:14:01 [secondlevel-2]: checking for validity by path: OK

2022-02-08 18:14:01 [secondlevel-2]: set real location: /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.core.SharedUtils.jar

2022-02-08 18:14:01 found resource: /Applications/alt_ActiveTraderDE7.2.8b1.app/Contents/WorkingDir/current/lib/com.consorsbank.lib.core.SharedUtils.jar

 

... und noch eine Menge mehr, was aber die Zeichenmenge hier sprengt.

0 Likes
2 ANTWORTEN 2

Autorität
Beiträge: 4148
Registriert: 06.02.2015

@Macros 

Wenn ich das bei der Exception vom AT-Pro richtig sehe, wird der AT-Pro mit JVM 10.0.1 gestartet. Dort scheint das benötigte Modul "sun/swing/SwingLazyValue" nicht vorhanden zu sein. Der AT startet, laut gepostetem Log, mit der JVM 1.8.0_321 problemlos. Was Du versuchen kann ist, den AT-Pro so zu starten, das auch dieser die JVM 1.8.0_321 nutzt, dann sollte er problemlos laufen. Eventuell hilft es eine andere Java-Version zu verwenden (siehe z.B. hier). In der verlinkten Antwort geht es zwar um keinen Intel Mac, aber eventuell hilft der die Antwort weiter den AT-Pro erfolgreich ohne das Java von Oracle zu starten.

 


Aufsteiger
Beiträge: 2
Registriert: 20.03.2014

Ok, Lösung dank des Hinweises gefunden und im Ordner /Library/Java/JavaVirtual/Machines einfach den Ordner jdk-10.0.1.jdk gelöscht. Danach scheint der Pro AT die richtige Java Version zum Starten herzunehmen und startete einwandfrei.

0 Likes
Antworten