Problems installing Netbeans and Javafx on ubuntu 16.04

0

I'm trying to continue a project (javafx) after formatting my machine with linux Ubuntu 16.04. I installed default-jdk on the terminal before installing full netbeans 8.2 downloaded directly from Oracle's website and when I try to open the project it has an error reading it and it appears in the "Projects" tab with "(interrupted)" on the front. When I try to start a new javafx project the following error appears:

Itriedtoinstallopenjfxthroughtheterminalwithoutsuccess.SoItriednetbeans8.1throughtheterminal.Withoutsuccessagain,however,inittheprojectopensbutdoesnotrunandIgetthefollowingerror:

ant-f/home/cezar/Dropbox/NetBeansProjects/TCC-Dnb.internal.action.name=runruninit:Deleting:/home/cezar/Dropbox/NetBeansProjects/TCC/build/built-jar.propertiesdeps-jar:Updatingpropertyfile:/home/cezar/Dropbox/NetBeansProjects/TCC/build/built-jar.propertiescompile:Deletingdirectory/home/cezar/Dropbox/NetBeansProjects/TCC/dist/libCopying1fileto/home/cezar/Dropbox/NetBeansProjects/TCC/dist/libDetectedJavaFXAntAPIversion1.3Launching<fx:jar>taskfrom/usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/ant-javafx.jarWarning:FromJDK7u25theCodebasemanifestattributeshouldbeusedtorestrictJARrepurposing.Pleasesetmanifest.custom.codebasepropertytooverridethecurrentdefaultnon-securevalue'*'.Launching<fx:deploy>taskfrom/usr/lib/jvm/java-8-openjdk-amd64/jre/../lib/ant-javafx.jarNobaseJDK.PackagewillusesystemJRE.Internalerror.Missingresources[/resources/web-files/javafx-loading-100x100.gif]JNLPfailed:Error:-includedtrequiresthejavadeploymenttoolkit,whichisnotincludedinthisdistributioncom.sun.javafx.tools.packager.PackagerException:Error:-includedtrequiresthejavadeploymenttoolkit,whichisnotincludedinthisdistributionatcom.oracle.tools.packager.jnlp.JNLPBundler.execute(JNLPBundler.java:493)atcom.sun.javafx.tools.packager.PackagerLib.generateNativeBundles(PackagerLib.java:352)atcom.sun.javafx.tools.packager.PackagerLib.generateDeploymentPackages(PackagerLib.java:318)atcom.sun.javafx.tools.ant.DeployFXTask.execute(DeployFXTask.java:286)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)atorg.apache.tools.ant.Task.perform(Task.java:348)atjdk.nashorn.internal.scripts.Script$11$\^eval\_.:program(<eval>:405)atjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:637)atjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:494)atjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:393)atjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:449)atjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:406)atjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:402)atjdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:155)atjavax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)atsun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethod)atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:109)atorg.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81)atorg.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunner.java:103)atorg.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunner.java:67)atorg.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:53)atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)atsun.reflect.GeneratedMethodAccessor50.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)atorg.apache.tools.ant.Task.perform(Task.java:348)atorg.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)atsun.reflect.GeneratedMethodAccessor50.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)atorg.apache.tools.ant.Task.perform(Task.java:348)atorg.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)atsun.reflect.GeneratedMethodAccessor50.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)atorg.apache.tools.ant.Task.perform(Task.java:348)atorg.apache.tools.ant.Target.execute(Target.java:435)atorg.apache.tools.ant.Target.performTasks(Target.java:456)atorg.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)atorg.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)atorg.apache.tools.ant.Project.executeTargets(Project.java:1260)atorg.apache.tools.ant.taskdefs.Ant.execute(Ant.java:441)atorg.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)atorg.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)atsun.reflect.GeneratedMethodAccessor50.invoke(UnknownSource)atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)atjava.lang.reflect.Method.invoke(Method.java:498)atorg.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)atorg.apache.tools.ant.Task.perform(Task.java:348)atorg.apache.tools.ant.Target.execute(Target.java:435)atorg.apache.tools.ant.Target.performTasks(Target.java:456)atorg.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)atorg.apache.tools.ant.Project.executeTarget(Project.java:1376)atorg.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)atorg.apache.tools.ant.Project.executeTargets(Project.java:1260)atorg.apache.tools.ant.module.bridge.impl.BridgeImpl.run(UnknownSource)atorg.apache.tools.ant.module.run.TargetExecutor.run(UnknownSource)atorg.netbeans.core.execution.RunClassThread.run(UnknownSource)/home/cezar/Dropbox/NetBeansProjects/TCC/nbproject/jfx-impl.xml:1487:Thefollowingerroroccurredwhileexecutingthisline:/home/cezar/Dropbox/NetBeansProjects/TCC/nbproject/jfx-impl.xml:3134:Thefollowingerroroccurredwhileexecutingthisline:/home/cezar/Dropbox/NetBeansProjects/TCC/nbproject/jfx-impl.xml:2096:Error:Bundler"WebStart JNLP Bundler" (jnlp) failed to produce a bundle.
BUILD FAILED (total time: 3 seconds)

In addition, netbeans 8.1 does not even have the option of creating a javafx project in the new project window.

    
asked by anonymous 02.01.2018 / 19:32

0 answers