Re: Specify Java Platform?

2021-09-08 Thread Carl Burke
Gradle changed the way you specify target platforms. If Netbeans is using a 
recent gradle you may need 
to investigate the 'toolchain' support in the java plugin. That allows you to 
separate the java that
gradle runs in from the version you are compiling against; if necessary gradle 
will provision itself
with a jdk of the requested version.


- Original Message -
From: "* William" 
To: "users" 
Sent: Wednesday, September 8, 2021 4:54:22 AM
Subject: Specify Java Platform?

Hello all,

I hope you are going well in your part of the world.  In the past, with the
Gradle plugin it was possible to specify the Java runtime and libries used
when exercising and testing the program.

[image: image.png]

How may I do this with the current Netbeans 12 release?

We are using gradle and I have a Java 8 target platform but when the
program runs we get class version errors:

17:20:57.411 DEBUG org.eclipse.jetty.servlet.ServletHolder - Servlet.init
org.glassfish.jersey.servlet.ServletContainer@1f53a5dc for
org.glassfish.jersey.servlet.ServletContainer-2049a9c1
Sept 08, 2021 5:20:57 PM
org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener$ClassReaderWrapper
accept
WARNING: Unsupported class file major version 60

In this build we have ...

   - sourceCompatibility = '1.8'
   - targetCompatibility = '1.8'

With the older Netbeans setting the platform appropriately was also
required.  The Netbeans 12 requiring a modern JDK as it is; what's required
to cross-compile build and run, to test and debug under a JDK 1.8 ?

Can it (still) be done ?

Thanks in advance.

aloha,
 \_w_/
 ___

Re: serialVersionUID generator

2021-09-08 Thread Bradley Willcott

Hi,
I forked off a project.  This is what I use: 
https://github.com/bewillcott/netbeans-svuid-generator 
.
Download and build it.  Then install it via Tools/Plugins/Downloaded -> 
Add Plugins ...


Then in the Editor, say a .java file, click on the class line and 
Atl-Enter ...


Make sure to have added the Serializable interface first.

Brad.

On 8/9/21 2:03 am, Ewan Slater wrote:


-
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



Specify Java Platform?

2021-09-08 Thread * William
Hello all,

I hope you are going well in your part of the world.  In the past, with the
Gradle plugin it was possible to specify the Java runtime and libries used
when exercising and testing the program.

[image: image.png]

How may I do this with the current Netbeans 12 release?

We are using gradle and I have a Java 8 target platform but when the
program runs we get class version errors:

17:20:57.411 DEBUG org.eclipse.jetty.servlet.ServletHolder - Servlet.init
org.glassfish.jersey.servlet.ServletContainer@1f53a5dc for
org.glassfish.jersey.servlet.ServletContainer-2049a9c1
Sept 08, 2021 5:20:57 PM
org.glassfish.jersey.server.internal.scanning.AnnotationAcceptingListener$ClassReaderWrapper
accept
WARNING: Unsupported class file major version 60

In this build we have ...

   - sourceCompatibility = '1.8'
   - targetCompatibility = '1.8'

With the older Netbeans setting the platform appropriately was also
required.  The Netbeans 12 requiring a modern JDK as it is; what's required
to cross-compile build and run, to test and debug under a JDK 1.8 ?

Can it (still) be done ?

Thanks in advance.

aloha,
 \_w_/
 ___


Re: [External] : Re: serialVersionUID generator

2021-09-08 Thread Ewan Slater
Thanks both :-)

> On 8 Sep 2021, at 08:19, Emilian Bold  wrote:
> 
> I see there is an older plugin in the 11 Plugin Portal
> https://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Where*to*download*plugins*for*NetBeans*10.0*and*earlier__;KysrKysrKys!!ACWV5N9M2RV99hQ!YRv0PeLPcayAV4_NZmPgL7vyThr0dE5socLmAhHYLzrVYe-4oCtgh-DKQVBNjncC$
> 
>  distribution="https://urldefense.com/v3/__http://plugins.archive.librebeans.org/nbms/1559203287_org-pr-nb-suid.nbm__;!!ACWV5N9M2RV99hQ!YRv0PeLPcayAV4_NZmPgL7vyThr0dE5socLmAhHYLzrVYe-4oCtgh-DKQb3T_ffR$
>  "
> downloadsize="9863"homepage="https://urldefense.com/v3/__https://github.com/manikantannaren/mynetbeans/tree/master/NB-SUID-Generator__;!!ACWV5N9M2RV99hQ!YRv0PeLPcayAV4_NZmPgL7vyThr0dE5socLmAhHYLzrVYe-4oCtgh-DKQUvkrenB$
>  "
> license="FBA63931" moduleauthor="Manikantan Narender Nath"
> needsrestart="false"releasedate="2019/05/30">
> 
> --emi
> 
> On Wed, Sep 8, 2021 at 12:51 AM Ed Sowell  wrote:
>> 
>> Inno Setup, which I use to create the installer for my app, generates a GUID.
>> 
>> I just signed up  for this mail list so  I don't know if this is the proper 
>> way to respond.
>> EdS
>> 
>> -Original Message-
>> From: Ewan Slater 
>> Sent: Tuesday, September 7, 2021 11:04 AM
>> To: NetBeans Mailing List 
>> Subject: serialVersionUID generator
>> 
>> Hi,
>> 
>> Does anyone know of a method for creating serialVersionUID in NetBeans?
>> 
>> IIRC there were some plugins for this in the past, but I can’t find them now 
>> on wither the community plugins page or plugin portal page.
>> 
>> Cheers,
>> 
>> Ewan
>> 
>> 
>> -
>> 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://urldefense.com/v3/__https://cwiki.apache.org/confluence/display/NETBEANS/Mailing*lists__;Kw!!ACWV5N9M2RV99hQ!YRv0PeLPcayAV4_NZmPgL7vyThr0dE5socLmAhHYLzrVYe-4oCtgh-DKQdoZtFRJ$
>> 



signature.asc
Description: Message signed with OpenPGP


Re: serialVersionUID generator

2021-09-08 Thread Emilian Bold
I see there is an older plugin in the 11 Plugin Portal
https://cwiki.apache.org/confluence/display/NETBEANS/Where+to+download+plugins+for+NetBeans+10.0+and+earlier

http://plugins.archive.librebeans.org/nbms/1559203287_org-pr-nb-suid.nbm;
downloadsize="9863"homepage="https://github.com/manikantannaren/mynetbeans/tree/master/NB-SUID-Generator;
license="FBA63931" moduleauthor="Manikantan Narender Nath"
needsrestart="false"releasedate="2019/05/30">

--emi

On Wed, Sep 8, 2021 at 12:51 AM Ed Sowell  wrote:
>
> Inno Setup, which I use to create the installer for my app, generates a GUID.
>
> I just signed up  for this mail list so  I don't know if this is the proper 
> way to respond.
> EdS
>
> -Original Message-
> From: Ewan Slater 
> Sent: Tuesday, September 7, 2021 11:04 AM
> To: NetBeans Mailing List 
> Subject: serialVersionUID generator
>
> Hi,
>
> Does anyone know of a method for creating serialVersionUID in NetBeans?
>
> IIRC there were some plugins for this in the past, but I can’t find them now 
> on wither the community plugins page or plugin portal page.
>
> Cheers,
>
> Ewan
>
>
> -
> 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
>

-
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