-
Notifications
You must be signed in to change notification settings - Fork 0
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
Could not initialize class envs.config.GenericConfig #15
Comments
Hi, I tried to reproduce your error in both conda and docker environment, but both worked fine from my side. Could you please try to create a clean conda environment and install the package again to see if the issue persists? |
Hi, I have the same error, also on Ubuntu systems, after installing it with mamba in clean conda envs. Do you have any solution? |
Hey @JuliaPlewka, could you please run |
Hi, I have the same error, java -version which java |
@Muzixibeijin I recommend you to compile the program from source instead of using conda, as described in https://github.com/steineggerlab/ufcg?tab=readme-ov-file#build-from-source. Alternatively, you can install older versions of JDK (8 or 11), which should work consistently. I suppose the pre-compiled JAR included in the conda package raises such exceptions in some environments. I will try to make it consistent in the later versions. |
I have intalled ufcg on WSL, however, when I used the same way (mamba install -y ufcg) to install it on ubuntu 22.04.2 LTS, it got wroing.
ufcg -u Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class envs.config.GenericConfig at envs.toolkit.Prompt.print(Prompt.java:31) at pipeline.UFCGMainPipeline.main(UFCGMainPipeline.java:289)
I checked my java is openjdk-17-jdk, how can I process it?
The text was updated successfully, but these errors were encountered: