Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Nelligan, Steven M
I am running NetBeans 11.1 and need to set Java 7 as my default JDK Platform for development. I edit netbeans.conf, in the etc folder, changing the value of "netbeans_jdkhome" to point to java 7. When I try to start Netbeans I get the following Error "Cannot find class org/netbeans/Main." H

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Geertjan Wielenga
NetBeans 11.1 runs on JDK 8 or above. Gj On Wed, Aug 21, 2019 at 12:29 PM Nelligan, Steven M wrote: > > > > > I am running NetBeans 11.1 and need to set Java 7 as my default JDK > Platform for development. > > > > I edit netbeans.conf, in the etc folder, changing the value of > “netbeans_jdkhom

RE: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Nelligan, Steven M
That is true, but Netbeans runs on JDK 11, but I want to build my applications using jdk-7. How do I set the default JDK within the Netbeans environment to build and run using jdk-7? Steven M Nelligan APPLICATION DEVELOPER Facilities and Services Information Technology Services University of Il

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Neil C Smith
On Wed, 21 Aug 2019 at 11:52, Nelligan, Steven M wrote: > > That is true, but Netbeans runs on JDK 11, but I want to build my > applications using jdk-7. > > How do I set the default JDK within the Netbeans environment to build and run > using jdk-7? You can't! Unfortunately this is broken in

RE: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Nelligan, Steven M
I've installed Version 11.0. I have the following JDK installed: JDK 1.7 JDK 10 JDK 11 (Default) JDK 9 How do I make JDK 1.7 the default? In earlier version of Netbeans, this was done by setting "netbeans_jdkhome" this would set the default JDK. STEVEN M NELLIGA

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Kai Uwe Pel
Hi Nelligan, for example, /./etc/netbeans.conf #netbeans_jdkhome="/path/to/jdk" #netbeans_jdkhome="C:\Program Files\Java\jdk1.8.0_202" #netbeans_jdkhome="C:\Program Files\Java\jdk-9.0.4" #netbeans_jdkhome="C:\Program Files\Java\jdk-10.0.2" netbeans_jdkhome="C:\Program Files\Java\jdk-11.0.4" #ne

RE: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Nelligan, Steven M
I need to build to JDK 1.7 So how do I set JDK 1.7 as the default? When I try to change the #netbeans_jdkhome to JDK1.7, I get an error when trying to start Netbeans. STEVEN M NELLIGAN APPLICATION DEVELOPER   Facilities and Services Information Technology Services University of Illinois at Urb

Error while building the installers of a netbeans platform application

2019-08-21 Thread Andreas Hauffe
Hi, I'm trying to build the installers for my Netbeans Plattform Application in Netbeans 11.1 under OpenSUSE Leap 15.1 and OpenJDK 12.0.2. During this build process I'm getting the following error in the output window: -do-compile:     [mkdir] Created dir: /mnt/home_ilrw/ahauffe/NetBeansProj

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Geertjan Wielenga
> > You can't! Unfortunately this is broken in NB 11.1, but might be > fixed in NB 11.2. For now, you'll probably have to stick with NB > 11.0. > > See - > > > https://lists.apache.org/thread.html/3d58770cde1095decec22864057657337345acfe895f0dae2b5d6d1c@%3Cusers.netbeans.apache.org%3E > https://i

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Nelligan, Steven M
Does the same in NetBeans 11.0 Sent from my iPhone On Aug 21, 2019, at 8:01 AM, Geertjan Wielenga mailto:geert...@apache.org>> wrote: You can't! Unfortunately this is broken in NB 11.1, but might be fixed in NB 11.2. For now, you'll probably have to stick with NB 11.0. See - https://lists.a

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Geertjan Wielenga
The default JDK is the JDK on which NetBeans starts. NetBeans does not start on a JDK lower than JDK 8. Therefore the default JDK cannot be below JDK 8. Why is this so important, if you can explain the context of this, then we can see how we can help. Thanks, Gj On Wed, Aug 21, 2019 at 3:06 PM

Re: Problem with setting default JDK in NetBeans 11.1

2019-08-21 Thread Christoph Theis
Dear Steven, from what I read it turns around to make 1.7 the default platform. I don't think it is necessary in order to build a project with a specific JDK to make that JDK the default. Instead, you can add other platforms to Netbeans (Tools / Java Platforms) and then select one of these in Pro

Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread Laszlo Kishalmi
NetBeans 11.1 is not yet buildable with JDK 12+, Use JDK 8 or 11. On 8/21/19 5:13 AM, Andreas Hauffe wrote: Hi, I'm trying to build the installers for my Netbeans Plattform Application in Netbeans 11.1 under OpenSUSE Leap 15.1 and OpenJDK 12.0.2. During this build process I'm getting the fol

Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread Andreas Hauffe
Hi, thanks for the answer. With JDK 11 I'm still getting the same error. -do-compile:     [mkdir] Created dir: /VMWare/eLamX2/build/installer/nbi_all/ext/infra/build/engine/build/ext/engine/build/empty     [javac] Compiling 6 source files to /VMWare/eLamX2/build/installer/nbi_all/ext/infra/bui

Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread Neil C Smith
Hi, On Wed, 21 Aug 2019 at 15:28, Andreas Hauffe wrote: > thanks for the answer. With JDK 11 I'm still getting the same error. Yes,as far as I know, the installers can't be built with JDK 11 yet. See pending PR https://github.com/apache/netbeans/pull/1414 Best wishes, Neil ---

Implement toolbar Comment/Uncomment actions

2019-08-21 Thread Ian Utley
Hi, I have created and registered a new File Type inside Netbeans 11. However the comment/uncomment buttons in the editor toolbar do not do anything (as expected). How do I implement these actions, do I need to also create an EditorKit, or is that deprecated? Regards Ian.

Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread William Reynolds
I ran into this a few weeks ago using Coolbeans: We have an RCP application that I was trying to create an installer for (right click the project, Package As->Installers). The build was failing with the following error: -do-compile: [mkdir] Created dir: C:\Users\wnreynolds\Desktop\Work

Re: Implement toolbar Comment/Uncomment actions

2019-08-21 Thread Ian Utley
Solved it. FYI. I had been following the tutorial at https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html and the tutorial code doesn't override the getCommentHandler() method of the LanguageRegistration class which extended DefaultLanguageConfig. Adding a suitable CommentHandler.DefaultCo

Re: Implement toolbar Comment/Uncomment actions

2019-08-21 Thread Geertjan Wielenga
Great. What’s the language you’re providing support for? Gj On Wed, 21 Aug 2019 at 20:42, Ian Utley wrote: > Solved it. FYI. I had been following the tutorial at > https://platform.netbeans.org/tutorials/nbm-javacc-lexer.html and the > tutorial code doesn't override the getCommentHandler() meth

Netbeans 11.1 and Xdebug

2019-08-21 Thread Haunted2
Does anybody managed to have Xdebug working in Netbeans 11.1? I tried in many ways following the official documentation (http://wiki.netbeans.org/HowToConfigureXDebug) and non official tutorials but Netbeans is always stuck on "waiting for connection." waiting for connection The xdebug extension

Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Alex Kotchnev
The scala plugin that I'm trying to upgrade to Java 11 ( https://github.com/akochnev/ak_nbscala/tree/nb11-remove-impl-deps) has a system dependency on tools.jar from the JDK. That jar was removed from the JDK (in Java 9, I think), and because of that, I can only compile the plugin with Java 8. I l

Re: Replacing dependency on tools.jar in Java 11

2019-08-21 Thread Geertjan Wielenga
Why specifically is tools.jar needed, any way to avoid that? I don’t think it matters much if you end up requiring JDK 8. It’s a good one. :-) Gj On Thu, 22 Aug 2019 at 04:39, Alex Kotchnev wrote: > The scala plugin that I'm trying to upgrade to Java 11 ( > https://github.com/akochnev/ak_nbsca

Re: Error while building the installers of a netbeans platform application

2019-08-21 Thread Andreas Hauffe
Hi, thanks for the hint. In my case I had to change the entries in two files: harness/nbi/stub/ext/components/products/helloworld/nbproject/project.properties harness/nbi/stub/ext/engine/nbproject/project.properties Now it is building the installers Andreas Am 21.08.19 um 17:17 schrieb Willia

Re: Netbeans 11.1 and Xdebug

2019-08-21 Thread Tobias Oelgarte
Its working for me with Netbeans 11.1. Did you configure the IDE Key? PHP Config (xdebug.ini), Netbeans with default settings: zend_extension=xdebug.so xdebug.remote_enable=1 xdebug.remote_autostart=1 xdebug.remote_connect_back=1 xdebug.idekey="netbeans-xdebug" xdebug.show_local_vars=1 xdebug.ov

Re: Subscribe

2019-08-21 Thread Tobias Oelgarte
I have the same issue. It's now the second time that i get this bouncing message. Am 21.08.2019 um 06:11 schrieb Efrem Mc: Subscribe Not sure why it is bouncing smime.p7s Description: S/MIME Cryptographic Signature

Re: Subscribe

2019-08-21 Thread mmouer
Me too Best Regards, Michael On Aug 21, 2019, 23:10 -0700, Tobias Oelgarte , wrote: > I have the same issue. It's now the second time that i get this bouncing > message. > > Am 21.08.2019 um 06:11 schrieb Efrem Mc: > > Subscribe > > > > > > Not sure why it is bouncing > > > > >