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

Error: Unable to access javafx.application.Application #893

Closed
ElizabethStr opened this issue Dec 9, 2024 · 6 comments
Closed

Error: Unable to access javafx.application.Application #893

ElizabethStr opened this issue Dec 9, 2024 · 6 comments
Labels
4.X Missing details Needs more info to understand the problem

Comments

@ElizabethStr
Copy link

ElizabethStr commented Dec 9, 2024

Compiling seems to fail due to an issue with JavaFX being unavailable. I'm using the Windows version of Recaf 4.0.0-Snapshot via Recaf launcher 0.8 which has FX version 24-ea+19 listed and I've tried JDK 23 and Liberica JDK 23 and neither of them seem to remedy the issue. Is this a bug or am I making some kind of clueless newbie mistake here? Thanks in advance.

@ElizabethStr ElizabethStr changed the title Error: Unable to access javefx.application.Application Error: Unable to access javafx.application.Application Dec 9, 2024
@Col-E
Copy link
Owner

Col-E commented Dec 9, 2024

Can you provide more error details than just what is in the title? The launcher should spew out a bunch of information if it fails to launch Recaf.

@Col-E Col-E added Missing details Needs more info to understand the problem 4.X labels Dec 9, 2024
@ElizabethStr
Copy link
Author

ElizabethStr commented Dec 9, 2024

Whilst I get the Error: Unable to access javafx.application.Application only on recompilation attempts inside Recaf it might be something to do with the launcher given that every time I try to update JavaFX it installs... the same version again. Here's the launcher's log just in case I'm missing something:

10:50:44.386 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: JFX cache:
 - Files: 10504631
 - Size:  10504631
10:50:44.390 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: Clearing dependency cache
10:50:45.214 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: Deleting dependency javafx-base-24-ea+19-win.jar
10:50:45.215 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: Deleting dependency javafx-controls-24-ea+19-win.jar
10:50:45.216 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: Deleting dependency javafx-graphics-24-ea+19-win.jar
10:50:45.216 [LauncherGui/ForkJoinPool.commonPool-worker-3] DEBUG: Deleting dependency javafx-media-24-ea+19-win.jar
10:52:07.483 [LauncherGui/ForkJoinPool.commonPool-worker-3] INFO : Updated to JavaFX '24-ea+19'

@Col-E
Copy link
Owner

Col-E commented Dec 9, 2024

The log file you'd want to look at would be in %APPDATA%/Recaf with log-<current-date>.txt. The launcher log doesn't include anything noteworthy so it launched fine.


As for editing/saving, I tried to reproduce the setup and it doesn't throw any exceptions for me.

image

@Col-E
Copy link
Owner

Col-E commented Dec 9, 2024

Files: 10504631

Oh, also thats a log call bug in the launcher 😅

@Col-E
Copy link
Owner

Col-E commented Dec 12, 2024

Any word on the dated logfile?

@Col-E
Copy link
Owner

Col-E commented Jan 4, 2025

If you can come back with the logfile contents / additional details feel free to re-open this.

@Col-E Col-E closed this as completed Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.X Missing details Needs more info to understand the problem
Projects
None yet
Development

No branches or pull requests

2 participants