You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Paul Szudzik <ps...@throwarock.com> on 2018/08/09 22:38:13 UTC

Re: NetBeans 9.0 on Linux - How?? - It works!

    Thank you .  That did work.  I am running on Java10 now, with Netbeans 9.0.

    netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"

    It still would be nice to have an installer, I still don’t have an icon to click on... I am a pretty good USER on Linux, but not very good INSTALLER type.

    It didn’t ask me if I wanted to bring any settings over from previous versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s way.

    So, I am happy for now.. but a DEB variant would make life a lot easier for a lot of people.. 

    Thanks again.

From: Mohammad Nabil 
Sent: Thursday, August 09, 2018 2:52 PM
To: Paul Szudzik 
Cc: users@netbeans.incubator.apache.org 
Subject: Re: NetBeans 9.0 on Linux - How??

netbeans/etc/netbeans.conf
uncomment
#netneans_jdkdhome=/path/to/jdk
and set path to your os java_home/bin/java
Run
netbeans/bin/netbeans


On Thu, Aug 9, 2018, 11:43 PM Paul Szudzik <ps...@throwarock.com> wrote:

      Maybe I missed something, but I don’t see an installer to install NetBeans 9.0 on Linux.    That is my OS in the shop, ( Ubuntu ).
      Are there plans to do it soon?
      Thanks

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by John McDonnell <mc...@gmail.com>.
Paul,

Have a look at
https://askubuntu.com/questions/854373/how-to-create-a-desktop-shortcut

I use this to create a shortcut to open NetBeans on Ubuntu form the desktop

Regards

John


On Thu, 9 Aug 2018 at 23:38, Paul Szudzik <ps...@throwarock.com> wrote:

>     Thank you .  That did work.  I am running on Java10 now, with Netbeans
> 9.0.
>
>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>
>     It still would be nice to have an installer, I still don’t have an
> icon to click on... I am a pretty good USER on Linux, but not very good
> INSTALLER type.
>
>     It didn’t ask me if I wanted to bring any settings over from previous
> versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s
> way.
>
>     So, I am happy for now.. but a DEB variant would make life a lot
> easier for a lot of people..
>
>     Thanks again.
>
> *From:* Mohammad Nabil
> *Sent:* Thursday, August 09, 2018 2:52 PM
> *To:* Paul Szudzik
> *Cc:* users@netbeans.incubator.apache.org
> *Subject:* Re: NetBeans 9.0 on Linux - How??
>
> netbeans/etc/netbeans.conf
> uncomment
> #netneans_jdkdhome=/path/to/jdk
> and set path to your os java_home/bin/java
> Run
> netbeans/bin/netbeans
>
> On Thu, Aug 9, 2018, 11:43 PM Paul Szudzik <ps...@throwarock.com>
> wrote:
>
>>     Maybe I missed something, but I don’t see an installer to install
>> NetBeans 9.0 on Linux.    That is my OS in the shop, ( Ubuntu ).
>>
>>     Are there plans to do it soon?
>>
>>     Thanks
>>
>>
>

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Carl Mosca <ca...@gmail.com>.
Thank you.

I guess I need to poke around in Jenkins.  I am wondering (without yet
having looked) if this is already being built and not posted anywhere.

Carl

On Fri, Aug 10, 2018 at 8:29 AM Neil C Smith <ne...@apache.org> wrote:

> Hi,
>
> Moving back on list! :-)
>
> On Fri, 10 Aug 2018 at 13:10, Carl Mosca <ca...@gmail.com> wrote:
> > OK, sounds like I used the wrong terminology for the Mac "bundle" - I
> find them commonly referred to in a variety of ways.  Getting the bits into
> /Application/some_directory_structure_here (or elsewhere for that matter)
> such that it can be launched from the GUI was the goal.
>
> Not sure!  The old macOS installer and bundles work quite differently
> from what I know.  A bundle is just a specially constructed folder
> that can be launched from anywhere.  I like them, but then I grew up
> using RiscOS, from where Apple nicked the idea along with the dock!
> :-)
>
> > What am I missing?  I am guessing there's something obvious I have
> overlooked.
> >
> > The reason I threw this
> https://github.com/carljmosca/netbeans-macos-bundle together was because
> I did not want folks to have to download a bundle from some non-apache site.
>
> You haven't missed anything, at least definitely not obvious.  There
> is an ant task in the RCP scripts for building a bundle.  I'd always
> assumed it was in the main NetBeans build scripts too, but I couldn't
> find it.
>
>
> https://github.com/apache/incubator-netbeans/blob/master/apisupport.harness/release/suite.xml#L391
>
> Best wishes,
>
> Neil
>


-- 
Carl J. Mosca

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Neil C Smith <ne...@apache.org>.
Hi,

Moving back on list! :-)

On Fri, 10 Aug 2018 at 13:10, Carl Mosca <ca...@gmail.com> wrote:
> OK, sounds like I used the wrong terminology for the Mac "bundle" - I find them commonly referred to in a variety of ways.  Getting the bits into /Application/some_directory_structure_here (or elsewhere for that matter) such that it can be launched from the GUI was the goal.

Not sure!  The old macOS installer and bundles work quite differently
from what I know.  A bundle is just a specially constructed folder
that can be launched from anywhere.  I like them, but then I grew up
using RiscOS, from where Apple nicked the idea along with the dock!
:-)

> What am I missing?  I am guessing there's something obvious I have overlooked.
>
> The reason I threw this https://github.com/carljmosca/netbeans-macos-bundle together was because I did not want folks to have to download a bundle from some non-apache site.

You haven't missed anything, at least definitely not obvious.  There
is an ant task in the RCP scripts for building a bundle.  I'd always
assumed it was in the main NetBeans build scripts too, but I couldn't
find it.

https://github.com/apache/incubator-netbeans/blob/master/apisupport.harness/release/suite.xml#L391

Best wishes,

Neil

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

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


Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Neil C Smith <ne...@apache.org>.
On Thu, 9 Aug 2018 at 23:38, Paul Szudzik <ps...@throwarock.com> wrote:
>     It didn’t ask me if I wanted to bring any settings over from previous versions ( Which was 8.2 ) but being Linux, figured it couldn’t find it’s way.

That's odd!  Never had a problem with the import settings dialog not
showing on any of the dev, rc, or released builds.

>     So, I am happy for now.. but a DEB variant would make life a lot easier for a lot of people..

A .deb specifically?  They're really easy to make out of the zip
bundle (rather than in the "official" way).  Wrote an old blog post on
this - https://praxisintermedia.wordpress.com/2013/03/28/packaging-as-a-deb/
 That might be an option?

There is work ongoing around a Snap package though, and possibly that,
and/or Flatpak, and/or AppImage are a better way forward?  It wouldn't
be Linux if there was only one option to choose from! ;-)  Personally
think an AppImage might be good.

On Fri, 10 Aug 2018 at 12:41, Carl Mosca <ca...@gmail.com> wrote:
> I don't see anything complicated about using it as is on MacOS, Linux, or Windows and have done so but one I see questions from folks who are used to installing software in a certain way and two I did get tired of running it via the command line (which certainly works on the Mac) so I hacked a small script to "install" it after having done same manually.

Actually a macOS installer?  The things I've seen have been app
bundles, which seem perhaps an easier way forward (there's already
support in the RCP build scripts) and more in line with the Snap-like
Linux approach?  Although we could possibly do with better error
reporting if the JDK can't be found in that case.

Which just leaves Windows ...

Best wishes,

Neil

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

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


Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Mohammad Nabil <mn...@gmail.com>.
launcher can auto detect/list/ask for JDK, update /etc/netbesns.conf, and
launche first startup configuration Java/C/PHP/Databases...etc


On Fri, Aug 10, 2018, 1:55 PM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

>
>
> All makes sense, though it’s a little odd to me that a developer doesn’t
> know how to unzip and run a launcher.
>
> I.e., obviously having an installer is convenient, though at the same time
> not having it, for the moment, doesn’t seem like a big problem for a
> developer.
>
> Now, what I think we need is to co-ordinate our efforts and put together
> the installers. I’d do so immediately if I knew how. If someone knows how
> to do it, can they do it, and document how to do so, and we can figure out
> how to integrate with the build later?
>
> Gj
>
> On Friday, August 10, 2018, Carl Mosca <ca...@gmail.com> wrote:
>
>> Personally, I think it makes the software more approachable.
>>
>> I don't see anything complicated about using it as is on MacOS, Linux, or
>> Windows and have done so but one I see questions from folks who are used to
>> installing software in a certain way and two I did get tired of running it
>> via the command line (which certainly works on the Mac) so I hacked a small
>> script to "install" it after having done same manually.
>>
>> I have to admit I a little surprised that this is even a question.  I
>> work with developers who would think nothing of doing as others have
>> explained in this thread but I also encounter developers who have no idea
>> how run such software because they came along differently and have other
>> areas of focus.
>>
>> The fact that how to run it has to be explained should answer the
>> question.
>>
>> Carl
>>
>> On Fri, Aug 10, 2018 at 7:15 AM Geertjan Wielenga
>> <ge...@googlemail.com.invalid> wrote:
>>
>>> I am also interested to know exactly why an installer is needed under
>>> the circumstances described in this thread.
>>>
>>> Gj
>>>
>>>
>>> On Friday, August 10, 2018, Leo Donahue <do...@gmail.com> wrote:
>>>
>>>> Hi Paul,
>>>>
>>>> On Thu, Aug 9, 2018 at 4:38 PM, Paul Szudzik <ps...@throwarock.com>
>>>> wrote:
>>>>
>>>>>     Thank you .  That did work.  I am running on Java10 now, with
>>>>> Netbeans 9.0.
>>>>>
>>>>>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>>>>>
>>>>>     It still would be nice to have an installer, I still don’t have an
>>>>> icon to click on...
>>>>>
>>>>
>>>> I see you have a solution that works for you, but could I ask a dumb
>>>> question or two on this topic?  Please don't take offense to them.  I just
>>>> want to understand.
>>>>
>>>> What would an installer for NetBeans on Linux do for me?  On Debian, I
>>>> just download the zip, extract it and run the netbeans script located in
>>>> the extracted /netbeans/bin/ directory. (assuming I already have a jdk
>>>> configured)
>>>>
>>>> Was your issue just getting NetBeans to use your installed jdk?
>>>>
>>>>
>>>>
>>>> It picks up your default jdk installation.  On my system, I have Oracle
>>>> jdk 8 and 10 installed using alternatives (both old already.. i have no
>>>> excuse)
>>>>
>>>>
>>>>
>>>> As John said already, you can make your own clickable desktop icon.
>>>>
>>>> -leo
>>>>
>>>
>>
>> --
>> Carl J. Mosca
>>
>

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
All makes sense, though it’s a little odd to me that a developer doesn’t
know how to unzip and run a launcher.

I.e., obviously having an installer is convenient, though at the same time
not having it, for the moment, doesn’t seem like a big problem for a
developer.

Now, what I think we need is to co-ordinate our efforts and put together
the installers. I’d do so immediately if I knew how. If someone knows how
to do it, can they do it, and document how to do so, and we can figure out
how to integrate with the build later?

Gj

On Friday, August 10, 2018, Carl Mosca <ca...@gmail.com> wrote:

> Personally, I think it makes the software more approachable.
>
> I don't see anything complicated about using it as is on MacOS, Linux, or
> Windows and have done so but one I see questions from folks who are used to
> installing software in a certain way and two I did get tired of running it
> via the command line (which certainly works on the Mac) so I hacked a small
> script to "install" it after having done same manually.
>
> I have to admit I a little surprised that this is even a question.  I work
> with developers who would think nothing of doing as others have explained
> in this thread but I also encounter developers who have no idea how run
> such software because they came along differently and have other areas of
> focus.
>
> The fact that how to run it has to be explained should answer the question.
>
> Carl
>
> On Fri, Aug 10, 2018 at 7:15 AM Geertjan Wielenga
> <ge...@googlemail.com.invalid> wrote:
>
>> I am also interested to know exactly why an installer is needed under the
>> circumstances described in this thread.
>>
>> Gj
>>
>>
>> On Friday, August 10, 2018, Leo Donahue <do...@gmail.com> wrote:
>>
>>> Hi Paul,
>>>
>>> On Thu, Aug 9, 2018 at 4:38 PM, Paul Szudzik <ps...@throwarock.com>
>>> wrote:
>>>
>>>>     Thank you .  That did work.  I am running on Java10 now, with
>>>> Netbeans 9.0.
>>>>
>>>>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>>>>
>>>>     It still would be nice to have an installer, I still don’t have an
>>>> icon to click on...
>>>>
>>>
>>> I see you have a solution that works for you, but could I ask a dumb
>>> question or two on this topic?  Please don't take offense to them.  I just
>>> want to understand.
>>>
>>> What would an installer for NetBeans on Linux do for me?  On Debian, I
>>> just download the zip, extract it and run the netbeans script located in
>>> the extracted /netbeans/bin/ directory. (assuming I already have a jdk
>>> configured)
>>>
>>> Was your issue just getting NetBeans to use your installed jdk?
>>>
>>>
>>>
>>> It picks up your default jdk installation.  On my system, I have Oracle
>>> jdk 8 and 10 installed using alternatives (both old already.. i have no
>>> excuse)
>>>
>>>
>>>
>>> As John said already, you can make your own clickable desktop icon.
>>>
>>> -leo
>>>
>>
>
> --
> Carl J. Mosca
>

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Carl Mosca <ca...@gmail.com>.
Personally, I think it makes the software more approachable.

I don't see anything complicated about using it as is on MacOS, Linux, or
Windows and have done so but one I see questions from folks who are used to
installing software in a certain way and two I did get tired of running it
via the command line (which certainly works on the Mac) so I hacked a small
script to "install" it after having done same manually.

I have to admit I a little surprised that this is even a question.  I work
with developers who would think nothing of doing as others have explained
in this thread but I also encounter developers who have no idea how run
such software because they came along differently and have other areas of
focus.

The fact that how to run it has to be explained should answer the question.

Carl

On Fri, Aug 10, 2018 at 7:15 AM Geertjan Wielenga
<ge...@googlemail.com.invalid> wrote:

> I am also interested to know exactly why an installer is needed under the
> circumstances described in this thread.
>
> Gj
>
>
> On Friday, August 10, 2018, Leo Donahue <do...@gmail.com> wrote:
>
>> Hi Paul,
>>
>> On Thu, Aug 9, 2018 at 4:38 PM, Paul Szudzik <ps...@throwarock.com>
>> wrote:
>>
>>>     Thank you .  That did work.  I am running on Java10 now, with
>>> Netbeans 9.0.
>>>
>>>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>>>
>>>     It still would be nice to have an installer, I still don’t have an
>>> icon to click on...
>>>
>>
>> I see you have a solution that works for you, but could I ask a dumb
>> question or two on this topic?  Please don't take offense to them.  I just
>> want to understand.
>>
>> What would an installer for NetBeans on Linux do for me?  On Debian, I
>> just download the zip, extract it and run the netbeans script located in
>> the extracted /netbeans/bin/ directory. (assuming I already have a jdk
>> configured)
>>
>> Was your issue just getting NetBeans to use your installed jdk?
>>
>>
>>
>> It picks up your default jdk installation.  On my system, I have Oracle
>> jdk 8 and 10 installed using alternatives (both old already.. i have no
>> excuse)
>>
>>
>>
>> As John said already, you can make your own clickable desktop icon.
>>
>> -leo
>>
>

-- 
Carl J. Mosca

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Geertjan Wielenga <ge...@googlemail.com.INVALID>.
I am also interested to know exactly why an installer is needed under the
circumstances described in this thread.

Gj


On Friday, August 10, 2018, Leo Donahue <do...@gmail.com> wrote:

> Hi Paul,
>
> On Thu, Aug 9, 2018 at 4:38 PM, Paul Szudzik <ps...@throwarock.com>
> wrote:
>
>>     Thank you .  That did work.  I am running on Java10 now, with
>> Netbeans 9.0.
>>
>>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>>
>>     It still would be nice to have an installer, I still don’t have an
>> icon to click on...
>>
>
> I see you have a solution that works for you, but could I ask a dumb
> question or two on this topic?  Please don't take offense to them.  I just
> want to understand.
>
> What would an installer for NetBeans on Linux do for me?  On Debian, I
> just download the zip, extract it and run the netbeans script located in
> the extracted /netbeans/bin/ directory. (assuming I already have a jdk
> configured)
>
> Was your issue just getting NetBeans to use your installed jdk?
>
>
>
> It picks up your default jdk installation.  On my system, I have Oracle
> jdk 8 and 10 installed using alternatives (both old already.. i have no
> excuse)
>
>
>
> As John said already, you can make your own clickable desktop icon.
>
> -leo
>

Re: NetBeans 9.0 on Linux - How?? - It works!

Posted by Leo Donahue <do...@gmail.com>.
Hi Paul,

On Thu, Aug 9, 2018 at 4:38 PM, Paul Szudzik <ps...@throwarock.com>
wrote:

>     Thank you .  That did work.  I am running on Java10 now, with Netbeans
> 9.0.
>
>   *  netbeans_jdkhome="/usr/lib/jvm/java-10-oracle"*
>
>     It still would be nice to have an installer, I still don’t have an
> icon to click on...
>

I see you have a solution that works for you, but could I ask a dumb
question or two on this topic?  Please don't take offense to them.  I just
want to understand.

What would an installer for NetBeans on Linux do for me?  On Debian, I just
download the zip, extract it and run the netbeans script located in the
extracted /netbeans/bin/ directory. (assuming I already have a jdk
configured)

Was your issue just getting NetBeans to use your installed jdk?



It picks up your default jdk installation.  On my system, I have Oracle jdk
8 and 10 installed using alternatives (both old already.. i have no excuse)



As John said already, you can make your own clickable desktop icon.

-leo