Michal Rama created NETBEANS-3180:
-------------------------------------

             Summary: Change java version for NetBeans runtime.
                 Key: NETBEANS-3180
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3180
             Project: NetBeans
          Issue Type: New Feature
          Components: ide - UI
    Affects Versions: 11.1
         Environment: Windows 10, Apache NetBeans 11.1, Java 13
            Reporter: Michal Rama
         Attachments: picture.png, picture2.png

Hello,

The version of Java, for the NetBeans runtime, is set before installation - 
*jdkhome*.

At that time, I only had version 12.0.2. However, version 13 was released 
recently. That's why I installed it and uninstalled version 12.0.2.

You will now receive an error at startup. !picture.png!

It's logical. *jdkhome* contains a non-existent folder. If you select *yes*, 
NetBeans will start and run in version 13.

!picture2.png!

But if I close the program, the situation repeats again at startup.

It is necessary to fix the *jdkhome* path in the *netbeans.conf* file in the 
*etc* folder.

But why should I fix it manually?

If jdkhome contains a non-existent folder, you should see a window with all 
versions of java. After selecting the required version, NetBeans would run in 
that version and would automatically overwrite jdkhome.

In addition, the ability to change java, for the NetBeans runtime, should also 
be set in NetBeans. Obviously, it would require a restart of the application, 
but I couldn't find this option anywhere.

I would like NetBeans to allow it.

Thank you



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to