> And I installed ubuntu approximately 1 months ago
Funny enough, I'm in a similar situation, switched to Ubuntu a month
ago after 30 years of being on Windows, and I've learned very quickly
that you MUST know at least a little
bit of "command", event if it's just to install stuff (not everything
can be installed from the "Ubuntu software store" or whatever it's
called).

Anyway, if you really must run netbeans on JDK 8 without using the
terminal, here's a rough set of steps:
1.- Check if you already have a JDK8 installed in /usr/lib/
2.- If not, download one from, say, here:
https://www.azul.com/downloads/zulu-community/?version=java-8-lts&os=ubuntu&architecture=x86-64-bit&package=jdk
(make sure it's the ZIP version since we can't use commands) and unzip
it somewhere in your system
3.- Assuming you installed NB 11.3 through the Ubuntu Software (which
means it's what's called a "snap"), go to
/home/<your_name>/snap/netbeans/common/data/11.3/etc and in
netbeans.conf uncomment the line "netbeans_jdkhome", also change the
path to the JDK8 that you found/downloaded (this is a protected
folder, so editing netbeans.conf may involve copying it somewhere and
then replacing the original)
4.- Open netbeans, Help -> About and confirm JDK

Now this will both, run Netbeans on JDK 8 and compile your project
using JDK 8 (the latter as long as you're using the "default" JDK to
compile, which you can check in your project properties).

Now, if all you need is this:
> Or You just need to add Java 8 to the list of Java Platforms in NetBeans?
Skip steps 3-4 and use the Java Platform Manager: Tools -> Options ->
Maven -> Manage Java Platform -> Add Platform...  (you can also reach
it from the projects properties)

Also, I don't know much about JavaFX, but I'm sure it would help this
mailing list if you could tell them what build system you're using
(does your project have a pom.xml or build.xml file?) or at the very
least the tutorial you're following, If you're not too attached to the
project you already have, it would be best to start over with the
official getting started guide that Scott provided, which even has a
Netbeans specific section (please choose the Netbeans-Maven section
since Maven is what works best with NB and what most people can help
you with probably)

On Tue, May 19, 2020 at 8:31 PM Scott Palmer <swpal...@gmail.com> wrote:
>
> Please see the Getting Started documentation at 
> https://openjfx.io/openjfx-docs/
> That will tell you how to use Gradle or Maven to build an application with 
> JavaFX on JDK 11 or later.
>
> And please use a subject in your email messages to the list.
>
> Scott
>
> On May 19, 2020, at 10:11 PM, Brain Rebooting <siumastroma...@gmail.com> 
> wrote:
>
> I am not a developer. I am just a learner. After completing Fundamental and 
> OOP in java, now I am thinking about to learn javaFX. But after writing a 
> basic program in javaFX, when try to run, I saw that jdk-11 by default 
> doesn't run javaFX program.
> And I installed ubuntu approximately 1 months ago by thinking about to learn 
> command. But still I can't start learning command. That's not so important 
> for me right now.
>
>
>
> On Wed, May 20, 2020, 2:04 AM Emilian Bold <emilian.b...@gmail.com> wrote:
>>
>> Maybe he doesn't have root on that machine?
>>
>> --emi
>>
>> On Tue, May 19, 2020 at 10:01 PM Juan Algaba <jalg...@colef.mx> wrote:
>> >
>> > > Please give me idea that include no command.
>> > Also, you're on linux and a developer, Why such a strange requirement?
>> > I think "sudo apt install openjdk-8-jdk" is easier than actually
>> > hunting down and setting up a jdk manually.
>> >
>> >
>> > On Tue, May 19, 2020 at 11:05 AM Laszlo Kishalmi
>> > <laszlo.kisha...@gmail.com> wrote:
>> > >
>> > > What do you mean no command?
>> > >
>> > > Do you have Java 8 already installed on Ubuntu?
>> > >
>> > > Or You just need to add Java 8 to the list of Java Platforms in NetBeans?
>> > >
>> > > On 5/19/20 9:58 AM, Brain Rebooting wrote:
>> > > > HI all,
>> > > >
>> > > > How to install jdk 8 into netbeans 11.3 in ubuntu 18?
>> > > > Please give me idea that include no command.
>> > > >
>> > > > Samiul alom sium
>> > >

-- 
- Juan Algaba

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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

  • [no subject] Brain Rebooting
    • Re: Laszlo Kishalmi
      • Re: Juan Algaba
        • Re: Emilian Bold
          • Re: Brain Rebooting
            • Re: Scott Palmer
              • Re: Juan Algaba
            • Re: Chris Olsen
          • Re: John Lavelle

Reply via email to