Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux - cannot start application #334

Closed
mdeguzis opened this issue Dec 26, 2016 · 12 comments
Closed

Arch Linux - cannot start application #334

mdeguzis opened this issue Dec 26, 2016 · 12 comments

Comments

@mdeguzis
Copy link
Contributor

mdeguzis commented Dec 26, 2016

Works but cannot install applications:

java -classpath "$CLASSPATH" com.playonlinux.app.PlayOnLinuxApp "$@"

Does not work:

java -classpath "$CLASSPATH" com.playonlinux.javafx.JavaFXApplication "$@"

Error: https://gist.github.com/mdeguzis/f1b60895a158c48dc438151200fd1514

What is the correct classpath? I am trying to fix up the AUR package:

https://aur.archlinux.org/packages/playonlinux5-git

I did try setting "export JAVA_HOME="/usr/lib/jvm/java-8-openjdk" after removing openjfx and then installed openjfx again, per build notes.

I did do some tests and set my current java to openjdk-8 and used the below script to test:

#!/bin/bash

POL_HOME=/opt/playonlinux5
CLASSPATH=${CLASSPATH}:$POL_HOME/lib/*

java -classpath "$CLASSPATH" com.playonlinux.javafx.JavaFXApplication "$@"
@qparis
Copy link
Member

qparis commented Dec 26, 2016

It appears that you have an package ; the classes in the stacktrace do no longer exist

@mdeguzis
Copy link
Contributor Author

an package; ? Perhaps the dist zip is missing components? If the wiki is old, I can help update it.

@qparis
Copy link
Member

qparis commented Dec 26, 2016

outdated * sorry

@mdeguzis
Copy link
Contributor Author

Thanks was on a new build. I'll axe the clone of the repo I have and do a fresh build.

@mdeguzis
Copy link
Contributor Author

phoenicsis-dist.zip only contains the script, no libs. Are build instructions now different? This was after mvn clean build

@qparis
Copy link
Member

qparis commented Dec 26, 2016

I'm not sure but the class EventHandlerLibrary does no longer exist. Can you investigate why do you have it on your stacktrace?

@mdeguzis
Copy link
Contributor Author

That must have been left behind from a dirty pkg/ dir. I'll look more at the new build log. Previously, unzipping the archive could rained all that was required.

@mdeguzis
Copy link
Contributor Author

mdeguzis commented Dec 26, 2016

Build log for AUR package: http://slexy.org/view/s20CCK5rGS

mikeyd@archboxmtd playonlinux5-git $ tree pkg/
pkg/
└── playonlinux5-git
    ├── opt
    │   └── playonlinux5
    │       └── PlayOnLinux.sh
    └── usr
        ├── bin
        │   └── playonlinux5
        └── share
            ├── applications
            │   └── playonlinux5.desktop
            └── pixmaps
                └── playonlinux5.png

8 directories, 4 files

@qparis
Copy link
Member

qparis commented Dec 26, 2016

I think it was because of this: #340

phoenicis-app do longer exist, therefore, it was not cleaned when you run mvn clean.

Can you retry please? :)

@mdeguzis
Copy link
Contributor Author

mdeguzis commented Dec 26, 2016

The tree is populated, but it will not launch: http://slexy.org/view/s21QrvuzkQ , so closer :P

mikeyd@archboxmtd /mnt/server_media_y/github_repos/playonlinux5-git  $ playonlinux5
Error: Could not find or load main class com.playonlinux.javafx.JavaFXApplication

@qparis
Copy link
Member

qparis commented Dec 26, 2016

Can you check that com.playonlinux.javafx.JavaFXApplication is on your classpath?

@mdeguzis
Copy link
Contributor Author

Last bit was my fault. I forgot to re-add the POL home path in the script for the AUR package. All good! Thank you for clearing things up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants