I am running Netbeans 9 on Java 8 64 bit. I am running a Windows 10 64 bit Home Edition pc.
-Is there an easier way to alter the version of Java Netbeans 9 uses to build and run projects without altering C:\Program Files\Netbeans\etc\netbeans.conf every single time? -I am having problems with the following errors from trying to run the default CodeName project. How can I eliminate them to successfully run the demonstration program? ---------------------------------------------------------------------------------------------------------------------- run: [EDT] 0:0:0,0 - Codename One revisions: a9dfcb988f51cab1b4ccc43190b9ad9034474b18 java.io.IOException: /theme.res not found [EDT] 0:0:0,46 - Exception: java.io.IOException - /theme.res not found at com.codename1.ui.util.Resources.open(Resources.java:740) at com.codename1.ui.util.Resources.openLayered(Resources.java:704) at com.codename1.ui.util.Resources.openLayered(Resources.java:668) at com.codename1.ui.plaf.UIManager.initFirstTheme(UIManager.java:1958) at com.mycompany.myapp.MyApplication.init(MyApplication.java:36) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.codename1.impl.javase.Executor$1$1.run(Executor.java:134) at com.codename1.ui.Display.processSerialCalls(Display.java:1129) at com.codename1.ui.Display.mainEDTLoop(Display.java:924) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) java.lang.NullPointerException at com.mycompany.myapp.MyApplication.start(MyApplication.java:61) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.codename1.impl.javase.Executor$1$1.run(Executor.java:140) at com.codename1.ui.Display.processSerialCalls(Display.java:1129) at com.codename1.ui.Display.mainEDTLoop(Display.java:924) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) Java Result: 1 ----------------------------------------------------------------------------------------------------------------------