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

Linux: Cannot run client due to missing javassist.ClassPool (javaagent) #906

Closed
Geosearchef opened this issue May 24, 2018 · 4 comments
Closed
Labels
bug linux S2 major severity 2 - major - major loss of function

Comments

@Geosearchef
Copy link
Member

maybe create a fat jar instead

@Geosearchef Geosearchef added bug S2 major severity 2 - major - major loss of function labels May 24, 2018
@germanicianus
Copy link
Contributor

For me it's working. I am using Ubuntu 18.04 LTS and the Oracle JDK 1.8.0 Update 171. The Gradle build runs without problems and I can extract and run the zip build (e. g. downlords-faf-client-0.9.0-beta-rc.3.zip) using the commandline. Just switch to the directory where you extracted it and run:

java -cp downlords-faf-client-0.9.0-beta-rc.3.jar:commons-compress-1.9.jar:./*:./ -XX:+UseConcMarkSweepGC -DnativeDir=. -Dprism.dirtyopts=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -Dsun.java2d.opengl=true com.faforever.client.FafClientApplication

@Geosearchef
Copy link
Member Author

I can run the packaged version aswell. Running it out of IntelliJ finishes gradle build and throws an exception on start. Packaging the Javassist library into the java agent jar (fat jar) solves this issue. This is due to the the classpath libraries not being present when starting the jvm. It can be solved by setting -cp manually, but then the normal libraries won't be found anymore.

@germanicianus
Copy link
Contributor

I am able to run it from within Eclipse :) .

@1-alex98 1-alex98 added the linux label Jun 11, 2019
@Sheikah45
Copy link
Member

Doesn't seem to be an issue anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug linux S2 major severity 2 - major - major loss of function
Projects
None yet
Development

No branches or pull requests

4 participants