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

Terminal not starting on Windows 10 #54

Open
avelblood opened this issue Mar 18, 2023 · 0 comments
Open

Terminal not starting on Windows 10 #54

avelblood opened this issue Mar 18, 2023 · 0 comments

Comments

@avelblood
Copy link

avelblood commented Mar 18, 2023

OS: Windows 10 21H2
Java: 1.8.0_331

A JavaFX window appears and a tabbar with a tab, but inside the tab there is a white screen and hopeless emptiness.

I run the code from the examples in README .md, it works on other operating systems. Redirected the error stream from webview inside Terminal.java to system output to get this:

Console: [terminalfx/target/classes/hterm.html:60] ReferenceError: Can't find variable: app
Console: [terminalfx/target/classes/hterm_all.js:11340] TypeError: undefined is not an object (evaluating 'this.screen_.style')
Console: [https://getfirebug.com/index.html:1] SyntaxError: Unexpected token '<'

Looks like this

webView.getEngine().getLoadWorker().stateProperty().addListener((observable, oldValue, newValue) -> {
	getWindow().setMember("app", this);
});

is somehow not doing it's job properly.

It appears to be related to https://bugs.openjdk.org/browse/JDK-8289537 that has not been addressed.

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

1 participant