This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 238676 - Buildsystem requires JDK with javafx (should handle missing jfx gracefully)
Summary: Buildsystem requires JDK with javafx (should handle missing jfx gracefully)
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 8.0
Hardware: All Linux
: P1 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2013-11-21 21:22 UTC by matthias42
Modified: 2019-07-14 08:07 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matthias42 2013-11-21 21:22:25 UTC
Hey,

first: sorry to file this so generic, but I did not find a category for the build system.

I'm on linux and happy with OpenJDK7 (for me it always worked better than the oracle jdk). I work on bugtracking and tried to build netbeans. This always worked, since my last hg pull; hg update from core-main this does not work anymore.

I get this:

------------------------------------------------------------------

-define-custom-javac-task:

build-init:
[parseprojectxml] Distilling /home/matthias/NetBeansProjects/core-main/nbbuild/build/public-package-jars/org-netbeans-libs-javafx.jar from [/home/matthias/NetBeansProjects/core-main/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/jfxrt.jar]
[parseprojectxml] Classpath entry /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/jfxrt.jar does not exist; skipping
  [nbmerge] Failed to build target: all-core.browser.webview

BUILD FAILED
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:423: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:453: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:436: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:453: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:436: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:418: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/build.xml:465: The following error occurred while executing this line:
/home/matthias/NetBeansProjects/core-main/nbbuild/templates/projectized.xml:123: The JARs [/home/matthias/NetBeansProjects/core-main/nbbuild/netbeans/platform/modules/org-netbeans-libs-javafx.jar, /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/jfxrt.jar] contain no classes in the supposed public packages javafx.animation.*, javafx.application.*, javafx.beans.*, javafx.beans.binding.*, javafx.beans.property.*, javafx.beans.property.adapter.*, javafx.beans.value.*, javafx.collections.*, javafx.concurrent.*, javafx.embed.swing.*, javafx.event.*, javafx.fxml.*, javafx.geometry.*, javafx.scene.*, javafx.scene.canvas.*, javafx.scene.chart.*, javafx.scene.control.*, javafx.scene.control.cell.*, javafx.scene.effect.*, javafx.scene.image.*, javafx.scene.input.*, javafx.scene.layout.*, javafx.scene.media.*, javafx.scene.paint.*, javafx.scene.shape.*, javafx.scene.text.*, javafx.scene.transform.*, javafx.scene.web.*, javafx.stage.*, javafx.util.*, javafx.util.converter.*, netscape.javascript.*, com.sun.javafx.scene.web.* and so cannot be compiled against

Total time: 1 minute 6 seconds

------------------------------------------------------------------

So is there a way that I do a build without javafx? If jfxrt.jar is needed and not found: Could it be downloaded from oracle, as it is done with several other dependencies?

I could live with a build done without the webview module (which most probably won't work for me anyway).

Thanks

Matthias
Comment 1 matthias42 2013-11-25 20:46:23 UTC
FYI: I disabled core.browser.webview in cluster.properties and was able to build main-silver (core-main fails with broken dependencies).

Would it be an option to define modules that may fail on a regular build?
Comment 2 Jiri Rechtacek 2013-11-26 16:48:25 UTC
After recent changes in core.browser.javafx is full JDK required for building NetBeans IDE, not possible to build with OpenJDK anymore.
Comment 3 Jaroslav Tulach 2013-11-27 08:01:19 UTC
Yeah, parts of NetBeans that don't require JavaFX should built on OpenJDK without jfxrt.jar
Comment 4 Jaroslav Tulach 2013-11-27 09:43:00 UTC
ergonomics#4c27fc2f832f
Comment 5 KGF123 2019-07-14 08:07:03 UTC
Play the Online mahjongg dark dimensions http://mahjongfreegames.online/dark-dimensions such a amazing and wonderful classic online puzzle game.