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

Need some help to build Data Warrior and the plug-in examples on a Windows laptop. #14

Open
zpeng2003bht opened this issue Jul 13, 2023 · 2 comments

Comments

@zpeng2003bht
Copy link

Dear Dr. Sanders:

A co-worker of mine and I like to build DW on a Windows laptop to create the "datawarrior.jar" file, and then use it to support the building of "examplePlugin.jar" based on the "buildAll" script you have deposited in the "plugin_interface_2.1" folder.

After downloading and importing the DW master into an Eclipse IDE, we noticed the following error messages:
Error Message 1:
Description Resource Path Location Type
The project was not built since its build path is incomplete. Cannot find the class file for javafx.scene.control.ContextMenu. Fix the build path then try building this project datawarrior-Th Unknown Java Problem

The project was not built since its build path is incomplete. Cannot find the class file for javafx.scene.control.ContextMenu. Fix the build path then try building this project

Error Message 2:
Description Resource Path Location Type
The type javafx.scene.control.ContextMenu cannot be resolved. It is indirectly referenced from required type org.openmolecules.fx.viewer3d.V3DPopupMenuController DEDetailPane.java /datawarrior-Th/src/com/actelion/research/datawarrior line 1 Java Problem

The type javafx.scene.control.ContextMenu cannot be resolved. It is indirectly referenced from required type org.openmolecules.fx.viewer3d.V3DPopupMenuController

Thanks so much for your help.

Best,
Zhengwei Peng
(zhengwei.peng@bhtherapeutics.com)

@thsa
Copy link
Owner

thsa commented Jul 15, 2023 via email

@zpeng2003bht
Copy link
Author

Dear Dr. Sander:

Thanks so much for your nice tips.

After installing JRE 1.8 (JAVA_VERSION="1.8.0_371" which comes with "jfxrt.jar") on my Windows laptop, I was able to
a) compile and run DW within the Eclipse IDE;
2) export the Eclipse project out into a "datawarrior.jar" file;
3) import this "datawarrior.jar" back into the Eclipse project under the "datawarrior\lib" tab to help create the "examplePlugin.jar" file;
4) and verify that the "examplePlugin.jar" works as expected after I placed it inside the "C:\Program Files\DataWarrior\plugin" folder of the standalone Data Warrior application. on my laptop.

Best,
Zhengwei

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