Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 579772 - dev-java/oracle-jdk-bin: Request, enable javafx per default
Summary: dev-java/oracle-jdk-bin: Request, enable javafx per default
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-12 19:46 UTC by gerion
Modified: 2016-04-17 22:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gerion 2016-04-12 19:46:38 UTC
Please make the javafx useflag enabled per default.

This is useful because:
- disabling javafx leads only to removal of already existing files.
- javafx is a killerfeature of oracle jdk because icedtea for java 8 is unreleased and the open source javafx pendant openjfx is not packaged yet. Some people install oracle jdk only because of javafx.
- java does not get the loss of javafx. If you want to execute a java application that needs javafx and the useflag is not set, java quits with the error message, that the Main class was not found or has errors. So a user first has to know that the jar is a javafx app, and second needs to recognize that the useflag is deactivated.
Comment 1 James Le Cuirot gentoo-dev 2016-04-12 20:41:51 UTC
While I appreciate that the error is less than helpful, javafx adds a lot of additional dependencies. Sure, most desktop users are likely to have them anyway but Gentoo users are extremely picky about this kind of thing. Trust me, I've had complaints. I think I've already upset enough users over the X vs headless-awt thing so I'd rather avoid any further disruption. As distro developers, we are primarily concerned with packages in the tree and if one requires javafx then we can explicitly depend on the flag. At the moment though, the only package that does is an optional part of NetBeans. I'm not aware of any other applications that use it though no doubt that number is growing and we can review this decision at a later date. Java 9 is supposed to be more modular and I'm wondering how this will affect javafx in particular.

P.S. icedtea for Java 8 is just released now. ;)
Comment 2 gerion 2016-04-13 12:57:24 UTC
Ok, understand your concerns, maybe a compromise works and you can add an ewarn for this.

Anyway, to find this bugreport with the exact error message, I want to post it (english and german):
Error: Could not find or load main class application.Main
Fehler: Hauptklasse application.Main konnte nicht gefunden oder geladen werden
Comment 3 James Le Cuirot gentoo-dev 2016-04-17 22:09:51 UTC
Added a warning as requested.