Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-20 Thread Som Lima
initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine.Error: A fatal exception has occurred. Program will exit If you do then you know you are in the right place. This text suggests you can play around with the size. The message

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-20 Thread Oliver Rettig
eans, only for times when you're running "javac" and "java" commands in a terminal -- my installation doesn't recognize the "java" command - if it did I'd enter java -J-Xms512m -J-Xmx2048m Any suggestions? Thanks. Chris Lanz Department of Computer

Re: memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-20 Thread Peter Hull
On Sat, 19 Dec 2020 at 22:42, Christopher C. Lanz wrote: > > I have changed the netbeans.conf and app.conf files to include > > -J-Xms512m -J-Xmx2048m As far as I know, that's the right way to increase Netbeans heap. Maybe check in the IDE log (just after the line that starts "Input

memory allocation for JVM - "file too big to open safely" [netbeans] [java]

2020-12-19 Thread Christopher C. Lanz
ant to try increasing the allocation(s) for the JVM itself, but I can't find instructions to do that when you're using NetBeans, only for times when you're running "javac" and "java" commands in a terminal -- my installation doesn't recognize the "java" command -

Re: Java - System.out.print("Command: "); problem

2020-12-18 Thread Peter
I started this without knowing how to access or reply. This was introduced sometime after Maven 3.3.9 (after Netbeans 11.1). Running Netbeans 12.1 with Maven from Netbeans 11.1 is a work around. On 2020/09/18 14:36:33, Peter Ream wrote: > I had a java program that worked in mood.fi’s plu

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Geertjan Wielenga
You'll have to start a new thread for a new topic -- with a clear subject line, please. Gj On Thu, Dec 17, 2020 at 1:34 PM Peter Hull wrote: > On Thu, 17 Dec 2020 at 11:52, Geertjan Wielenga < > geertjan.wiele...@googlemail.com> wrote: > >> >> Yup, we’ve mailed back and forth on this and it’s

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
On Thu, 17 Dec 2020 at 11:52, Geertjan Wielenga < geertjan.wiele...@googlemail.com> wrote: > > Yup, we’ve mailed back and forth on this and it’s clear this is the > problem. > > While we're on the subject, do you know how an updated nb-javac will be released (I assume it's still under Oracle's

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Geertjan Wielenga
Yup, we’ve mailed back and forth on this and it’s clear this is the problem. Gj On Thu, 17 Dec 2020 at 12:49, Peter Hull wrote: > I think it's the use of the variable name 'permits' that is causing the > error. The new sealed classes (see http://openjdk.java.net/jeps/360) > thing uses permits

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-17 Thread Peter Hull
I think it's the use of the variable name 'permits' that is causing the error. The new sealed classes (see http://openjdk.java.net/jeps/360) thing uses permits as part of the class definition. I think it ought to be treated as a normal identifier when it's not part of class definition, but maybe

Re: Netbeans 12.2 nb-javac can't parse correct java code (works with 12.1 and before)

2020-12-16 Thread Andreas Reichel
On Thu, 2020-12-17 at 06:29 +0100, Geertjan Wielenga wrote: > Do you need to use nb-javac? Good Morning Geertjan. Thank you for replying so fast. I can run Netbeans 12.2 without that plugin of course, but somehow this beats the purpose: 1) Netbeans urges the installation of this plugin every

Java-Definition-as-a-Service

2020-11-23 Thread Geertjan Wielenga
Hi all, Something that may be of interest to NetBeans users, especially those who use Java, and even more especially those who may be confused by terminology related to Java or the OpenJDK -- aside from my work in the context of NetBeans, I also work at Azul, in particular, on foojay.io, which

NetBeans 12.x - Setting default value for "Track Java Dependencies"

2020-11-17 Thread Humphrey Clerx
Hello, If I go to the Project Properties "Build->Compiling" and modify the setting for "Track Java Dependencies", this will put this setting in the nbproject/private/private.properties file. How can I make it such that this value is added to the project.properties f

Re: Error? Netbeans QuickStart Java Project on Netbeans 12.1 Tutorial

2020-11-15 Thread Geertjan Wielenga
Can you be a lot more specific and provide a link to the tutorial you are referring to? And the exact error you are getting? Gj On Sun, 15 Nov 2020 at 20:39, Iatros55 wrote: > I cannot get this program to work. I keep getting an error trying to > compile MyApp and MyLib. I suspect the

Error? Netbeans QuickStart Java Project on Netbeans 12.1 Tutorial

2020-11-15 Thread Iatros55
I cannot get this program to work.  I keep getting an error trying to compile MyApp and MyLib.  I suspect the problem is a change in the path of the files.  Several posts point to changes in netbeans.conf.  I cannot find netbeans.conf on my Mac Pro anywhere, and the Search app cannot find it

Re: Best Java version for Netbeans

2020-11-03 Thread Scott Palmer
Well, that is only if you don't add other JDK platforms and set project-specific JDKs. (Just making sure everyone is aware that you can compile a project with Java 14 even though NetBeans itself is running on Java 8 or 11.) Scott On Tue, Nov 3, 2020 at 4:43 AM Geertjan Wielenga wrote

Re: Best Java version for Netbeans

2020-11-03 Thread Geertjan Wielenga
iJ's copy) but then it wouldn't work. So I removed JUnit 5 > from the project and put in JUnit 4 instead. > > Al > > On Tue, Nov 3, 2020 at 4:43 AM Geertjan Wielenga > wrote: > >> Probably best is always the latest LTS release of Java, which is >> currently 11,

Re: Best Java version for Netbeans

2020-11-03 Thread Alonso Del Arte
:43 AM Geertjan Wielenga wrote: > Probably best is always the latest LTS release of Java, which is currently > 11, though then you won't be using the latest language features introduced > in feature releases after 11. > > Gj > > On Tue, Nov 3, 2020 at 10:42 AM Juan Miguel

Re: Best Java version for Netbeans

2020-11-03 Thread Geertjan Wielenga
Probably best is always the latest LTS release of Java, which is currently 11, though then you won't be using the latest language features introduced in feature releases after 11. Gj On Tue, Nov 3, 2020 at 10:42 AM Juan Miguel Escribano wrote: > Any recommendation about which is the best J

Best Java version for Netbeans

2020-11-03 Thread Juan Miguel Escribano
Any recommendation about which is the best Java version to run Netbeans with? Best Juan Miguel

??????Build problems with Netbeans 12 and Java Web Application

2020-11-01 Thread Albert Flex
Could you provide snapshots of this problems ? If there are some errors in that JSP? Or , you can copy the project to github, and share with us? let me have a look. Albert ---- ??: "Gareth Lewis"

Build problems with Netbeans 12 and Java Web Application

2020-11-01 Thread Gareth Lewis
I've been using Netbeans 12 x64 (Windows) to create a basic Java Web Application. I'm currently using JDK 14.0.2 x64 but have tested using JDK 11.0.9 x64 and JDK 9+181 x64. I'm deploying to Apache Tomcat 9.0.38 x64. I've also tested Netbeans 11 and Netbeans 12.1. If I try to clean and build

[java] Matisse fails to add custom JPanel if module-info.java exists

2020-10-29 Thread Chris Marusich
the module-info.java file from my project. I'm using this version of NetBeans and the JDK, although I have reproduced the problem on Windows using OpenJDK 14 as well: NetBeans 12.1 JDK from AdoptOpenJDK Product Version: Apache NetBeans IDE 12.1 Java: 15.0.1; OpenJDK 64-Bit Server VM 15.0.1+9 Runtime

Re: [NB Module] How to create a module that plays a sound whenever the Java parser detects an error

2020-10-15 Thread Jack W.
On Thu, Oct 15, 2020 at 1:16 PM wrote: > a Netbeans module that plays a feedback sound whenever the user makes a > syntax mistake when typing (Java) code. > Hmm, going thru my code that might sound something line Aaron Copland's " "Fanfare for the Common Man&qu

[NB Module] How to create a module that plays a sound whenever the Java parser detects an error

2020-10-15 Thread henry.bruckman
Greetings: I hope that you and all your loved ones are safe and healthy. I write to you because I have spent days scouring over the documentation trying to find out how could I create a Netbeans module that plays a feedback sound whenever the user makes a syntax mistake when typing (Java

Re: Recognizing environment variable while running java app in NB 12.0

2020-10-08 Thread Som Lima
: > I have created a Java application for some data conversion. > > It accepts 2 parameters in the command line: input and output file. > > Besides that, some program options are defined by the properties file. > > I have several of these properties files for different envir

Re: Recognizing environment variable while running java app in NB 12.0

2020-10-08 Thread Pete Whelpton
g System.out.println("Environment: " + System.getProperty("env")); will print: Environment: dev Hope that helps, P On Thu, Oct 8, 2020 at 4:34 AM Greenberg, Gary wrote: > I have created a Java application for some data conversion. > > It accepts 2 parameters in the

Recognizing environment variable while running java app in NB 12.0

2020-10-07 Thread Greenberg, Gary
I have created a Java application for some data conversion. It accepts 2 parameters in the command line: input and output file. Besides that, some program options are defined by the properties file. I have several of these properties files for different environments, where name of the environment

[Java] Quality of Service tab missing

2020-09-22 Thread Travis Bowen
I'm using Netbeans 12.0 with JDK 1.8.0_241 on Windows 10. I've generated web service clients using the File > New > Web Service Client with a local WSDL file, which seems to work fine. I would like add a keystore for signing the message header, most of the documentation I have been able to find

Re: Java - System.out.print("Command: "); problem

2020-09-18 Thread Geertjan Wielenga
> > available in the development builds). > > > > > On 9/18/20 7:36 AM, Peter Ream wrote: > > > > > > > > > I had a java program that worked in mood.fi’s plugin in netbeans. I tried > > it in Netbeans 12.0, but it would not work. Here is

Re: Java - System.out.print("Command: "); problem

2020-09-18 Thread Laszlo Kishalmi
What build system do you use for this example? If Gradle, the it would be supported in the 12.2 release only (the patch already available in the development builds). On 9/18/20 7:36 AM, Peter Ream wrote: I had a java program that worked in mood.fi <http://mood.fi>’s plugin in netbe

Java - System.out.print("Command: "); problem

2020-09-18 Thread Peter Ream
I had a java program that worked in mood.fi’s plugin in netbeans. I tried it in Netbeans 12.0, but it would not work. Here is an example that does not work in Netbeans 12: import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new

NetBeans-dev with java 15

2020-09-15 Thread Vladimir Kokovic
Hi, Is there any variant to start NetBeans-dev with java 15? When trying to start, the following occurs: tryme: BUILD FAILED /mnt/WD-Elements-25A1/src/netbeans-apache-git/netbeans/nbbuild/build.xml:1188: Unable to create javax script engine for javascript

Re: Java programs run in Netbeans but not outside

2020-08-31 Thread Bayless Kirtley
lunch. Something about compiling or building the executable doesn't seem to recognize the libraries. To solve a problem for a food pantry (charity project) I had to revert to an older version of Linux on a questionable disk where Netbeans 8.1 with Java 1.8 still works. I don

RE: Java programs run in Netbeans but not outside

2020-08-17 Thread Gene Glick
contained the libraries. From: Gianluca Ruggero Sent: Monday, August 17, 2020 12:37 PM To: users@netbeans.apache.org Subject: Re: Java programs run in Netbeans but not outside Hi Bayless, I have had the same problem in Netbeans 11 with all my ant based projects created with Netbeans 8.2

Re: Java programs run in Netbeans but not outside

2020-08-17 Thread Gianluca Ruggero
ble disk where Netbeans 8.1 > with Java 1.8 still works. I don't see that as a long term solution > though as the disk is too undependable. > > A few weeks ago I thought I saw a related reference here but failed to > save it as I didn't know I had a problem at the time. Can anyon

Re: Java programs run in Netbeans but not outside

2020-08-16 Thread Mark Eggers
/ Then, mvn package followed by mvn assembly:single gives me a tar.gz and a zip file containing the correct structure. I can ship that around, unpack it, and run the program from the command line with: java -jar ./jarname.jar Works for me. . . . just my two cents /mde/ On 8/15/2020 9:07 PM

Re: Java programs run in Netbeans but not outside

2020-08-15 Thread Bradley Willcott
o the same directory you install the 'jar' file to, and then it should work a charm.  Does for me. Brad. On 15/8/20 8:13 pm, Bayless Kirtley wrote: I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with java 8 I also went to 11. I have been working on some existing projects and ev

Java programs run in Netbeans but not outside

2020-08-15 Thread Bayless Kirtley
I recently upgraded from Netbeans 8.1 to 11.1  and due to problems with java 8 I also went to 11. I have been working on some existing projects and everything works fine from within Netbeans. When I try to deploy though, it seems that Netbeans is no longer including the lib directory

Re: Java Web Start automatically disabled in case of missing libraries

2020-07-28 Thread András Sik
: > Hello, > > I've been working for quite a while on a project that uses Java Web start. > This was all fine until it ran on Java 8, but due to recent changes in the > development process of the company I work for that became no longer > possible. The project is being ported to Java 11,

Re: Maven Modular Projects with Java 11

2020-07-06 Thread Luff,Chris
on, 6 Jul 2020 at 08:21, Shaun Flynn > wrote: >> My question is: is there a way to create a Maven project which uses the Java >> Module system? >> >> I do have a work around but it feels quite hacky: each Java is it's own >> Maven project, or is this how it is su

Re: Maven Modular Projects with Java 11

2020-07-06 Thread Neil C Smith
On Mon, 6 Jul 2020 at 08:21, Shaun Flynn wrote: > My question is: is there a way to create a Maven project which uses the Java > Module system? > > I do have a work around but it feels quite hacky: each Java is it's own Maven > project, or is this how it is supposed to be? Sou

Maven Modular Projects with Java 11

2020-07-06 Thread Shaun Flynn
Hello there folks, First time poster, so please be gentle :) I have recently gained the confidence to stsrt using Maven after learning how to use the module system in Java 11. My question is: is there a way to create a Maven project which uses the Java Module system? I do have a work around

Java Web Start automatically disabled in case of missing libraries

2020-06-30 Thread András Sik
Hello, I've been working for quite a while on a project that uses Java Web start. This was all fine until it ran on Java 8, but due to recent changes in the development process of the company I work for that became no longer possible. The project is being ported to Java 11, where this feature

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-29 Thread zeugme
Yes, I can confirm. There is a bug on Tomcat launch with previous version of NB, at least version 11. It works fine with version 12 beta. On Wed, 27 May 2020 at 07:42, Geertjan Wielenga wrote: > > Can you try this scenario with 12.0 Beta 5? There has been a recent fix in > this area. > >

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
Running 12.0 Beta 5, I had no issues at all with these versions of Tomcat. Thanks again! apache-tomcat-8.5.55/ apache-tomcat-9.0.30/ apache-tomcat-9.0.35/ -- Matt Baron mbaron.netbe...@fastmail.com On Wed, May 27, 2020, at 11:14 AM, Matt Baron wrote: > For sure. I'll install it today

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
For sure. I'll install it today and report back ASAP. -- Matt Baron mbaron.netbe...@fastmail.com On Wed, May 27, 2020, at 12:41 AM, Geertjan Wielenga wrote: > > Can you try this scenario with 12.0 Beta 5? There has been a recent fix in > this area. > > bit.ly/download-12-0-beta-5 > > Gj

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-27 Thread Matt Baron
Thank you Rene! Tomcat 9.0.30 worked perfectly. -- Matt Baron mbaron.netbe...@fastmail.com On Tue, May 26, 2020, at 9:24 PM, René Aravena wrote: > Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went > back to the apache-tomcat-9.0.30 and it worked ok, however I

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread Geertjan Wielenga
Can you try this scenario with 12.0 Beta 5? There has been a recent fix in this area. bit.ly/download-12-0-beta-5 Gj On Wed, 27 May 2020 at 04:25, René Aravena wrote: > Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I > went back to the apache-tomcat-9.0.30 and it worked

Re: [java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread René Aravena
Hi, I had that problem with the apache-tomcat-9.0.35 (last) version, I went back to the apache-tomcat-9.0.30 and it worked ok, however I didn't have time to investigate what it was about. Maybe if you just need it to work the deployment this information will be useful. René Aravena El mar., 26

[java] [tomcat] Is there a trick to deploying a web app to Tomcat?

2020-05-26 Thread Matt Baron
Software: NetBeans 11.3, Tomcat 8.8.55. I have a simple, out of the box Maven web/servlet app that is effectively a "Hello world" app. When I set it up to run in a Wildfly or GlassFish server it deploys and runs fine, with no special configuration other than setting up the "Server" in

Re: Netbeans failed to quit followed by all Java files marked as "Error parsing files"

2020-05-22 Thread Glenn Holmer
On 5/22/20 8:47 AM, David Gradwell wrote: > NetBeans 12.0 beta 12 Wait, which beta? There have been four so far. -- Glenn Holmer (Linux registered user #16682) "After the vintage season came the aftermath -- and Cenbe." <> - To

Netbeans failed to quit followed by all Java files marked as "Error parsing files"

2020-05-22 Thread David Gradwell
NetBeans 12.0 beta 12 had a spinning rainbow wheel when I came back from lunch. Quit didn’t work. I had to go “Force Quit”. On re-opening NetBeans all my Java files had error marks, e.g.: [cid:image001.png@01D63047.FC10F7B0] Hover over one of the marks and I see “Error parsing file”. I

Re: [ java ] [ gradle ] Are breakpoints in JSPs supported in Gradle web applications?

2020-05-21 Thread Laszlo Kishalmi
, trying to debug a Gradle web application, using Tomcat 8.5. I am using the Gradle WAR plugin, and a WAR file is generated that I can deploy to Tomcat successfully. The site works correctly, all JSPs are run. I am able to submit and hit a breakpoint in my Java classes, but when I try to submit

[ java ] [ gradle ] Are breakpoints in JSPs supported in Gradle web applications?

2020-05-21 Thread Connor Cook
Hello all, I am using Netbeans 11.2, trying to debug a Gradle web application, using Tomcat 8.5. I am using the Gradle WAR plugin, and a WAR file is generated that I can deploy to Tomcat successfully. The site works correctly, all JSPs are run. I am able to submit and hit a breakpoint in my Java

Re: OT: java map where key is in the value

2020-05-20 Thread Owen Thomas
On Thu, 21 May 2020 at 12:57, Ernie Rael wrote: > On 5/20/2020 7:43 PM, Owen Thomas wrote: > > Hi Ernie. > > > > I have desired such an implementation; this would be a map that worked > > a little more like a set. However, I am unaware of such a beast in the > &

Re: OT: java map where key is in the value

2020-05-20 Thread Ernie Rael
On 5/20/2020 7:43 PM, Owen Thomas wrote: Hi Ernie. I have desired such an implementation; this would be a map that worked a little more like a set. However, I am unaware of such a beast in the Java SE API, and in this case, one just grabs the key that the object generates in a put through

Re: OT: java map where key is in the value

2020-05-20 Thread Owen Thomas
Hi Ernie. I have desired such an implementation; this would be a map that worked a little more like a set. However, I am unaware of such a beast in the Java SE API, and in this case, one just grabs the key that the object generates in a put through the use of a getKey method: map.put(value.getKey

[java] Setting Up a Remote Platform in Netbeans 11.0

2020-05-20 Thread Persona Non Grata
I am trying to set remote development for java in Netbeans 11 by following this Netbeans 8 tutorial <https://netbeans.org/kb/docs/java/javase-embedded.html>. After successfully making a Remote Java SE platform, I can't find a way to set my current project to use remote platfor

OT: java map where key is in the value

2020-05-20 Thread Ernie Rael
Hi, I've have a vague memory of a map implementation where the key is extracted from the value on a put. I thought it was Java, but I can't find it. Am I hallucinating? More to the point, does anyone know of such a map. I'm only using a few methods, so I could make a wrapper; but I like

Re: Decompiler for java

2020-05-18 Thread Eric J. Schwarzenbach
It seems odd to mix the Java and Javscript items. I have no need for the Javascript items, another programmer may have no need for the Java items, yet another may no need for either and have an entirely different list. I have a need for a java decompiler about once every 5 years

Re: Decompiler for java

2020-05-18 Thread Gheorghe TUDOSE
0, 07:27 Brain Rebooting a scris: > Still, Apache Netbeans requires some things to be usable as a true full > stack IDE for java and JavaScript at least. They are: > > 1. Machine learning capabilities to code completion. > 2. Autocompletion support for database or SQL languag

Re: Decompiler for java

2020-05-17 Thread Davide Grandi
Hello, for standalone java decompiler : simple  : http://java-decompiler.github.io complex : https://bytecodeviewer.com for (simple) I keep some older version at hand, 'cause for very old class files they give better results Sometimes. Cheers,     Davide On 17/05/2020 05:17, Brain

Re: Decompiler for java

2020-05-17 Thread Brain Rebooting
s compared to what NetBeans does by >>> default. Plenty of things to improve using classical engineering before we >>> need to bring in AI. >>> >>> > 2. Autocompletion support for database or SQL language and NoSQL >>> support like MongoDB. >>>

Re: Decompiler for java

2020-05-17 Thread Emilian Bold
better static analysis compared to what NetBeans does by default. Plenty of things to improve using classical engineering before we need to bring in AI. > 2. Autocompletion support for database or SQL language and NoSQL support like MongoDB. I think SQL support exists? > 3. A Decompiler for j

Re: Decompiler for java

2020-05-16 Thread Ty Young
On 5/16/20 11:27 PM, Brain Rebooting wrote: Still, Apache Netbeans requires some things to be usable as a true full stack IDE for java and JavaScript at least. They are: 1. Machine learning capabilities to code completion. 2. Autocompletion support for database or SQL language and NoSQL

Re: Decompiler for java

2020-05-16 Thread Brain Rebooting
Still, Apache Netbeans requires some things to be usable as a true full stack IDE for java and JavaScript at least. They are: 1. Machine learning capabilities to code completion. 2. Autocompletion support for database or SQL language and NoSQL support like MongoDB. 3. A Decompiler for java. 4

Decompiler for java

2020-05-16 Thread Brain Rebooting
Hi all, Is there any decompiler for netbeans to see source code from class file. Samiul alom sium Bangladesh

Re: [java] [j2ee] [jms] [payara] Slow deployment due to JMS destination?

2020-04-27 Thread Stefan Obpacher
Hi, I solved the issue by myself. If anyone cares what the problem was: It wasn't a NetBeans, Payara or J2EE issue. It was caused by the VPN connection to our company I used so I can do home office. I guess that the server was doing a nice detour through the internet and back again to notice

[java] [j2ee] [jms] [payara] Slow deployment due to JMS destination?

2020-04-22 Thread Stefan Obpacher
Hi everyone! Since using NetBeans 11.3, deployment of my EAR-Project to payara is really slow. I have about 20 message driven beans in my EJB-Module and for every single one of it the following output is written to the console during deployment: >>... End point determines destination name,

Re: WM_CLASS property is set to java-lang-Thread Nebeans 11.2

2020-04-16 Thread Neil C Smith
On Mon, 6 Jan 2020 at 19:16, Neil C Smith wrote: > Thanks. Just had a bit of time to dig into this. I can replicate > your issue with the duplicate launcher icon appearing, as of 11.2 - > earlier versions are fine. I can't replicate the WM_CLASS of the IDE > window being wrong, but it seems

Re: Netbeans IDE - See the compiled code from Java class like Eclipse IDE

2020-04-12 Thread Emilian Bold
Normally if you have a Maven project you can go to the dependency, right-click it, then tell it to download the sources. After the sources are automatically downloaded by the IDE, jumping into that class will show you the source code. --emi On Sun, Apr 12, 2020 at 6:22 AM Lucas Sampaio wrote:

Re: Java project LD_LIBRARY_PATH

2020-03-27 Thread Vladimir Kokovic
After many unsuccessful attempts, I finally managed to create a model NetBeans project that can handle environment variables, for run and debug targets, per java project. To be unusual, a total of 3 lines should be added to the existing build-impl.xml. I needed control of the variable

Re: [java] Google style for Java

2020-03-26 Thread John Mc
, please let me know in GitHub and I can look to address them. Regards John [1]: https://github.com/mcdonnell-john/nb-google-java-code-formatter-plugin On Thu, 26 Mar 2020 at 01:24, Joel Strasser wrote: > I went by configuring the required options myself. But thank you anyway! > > Mit fre

RE: [java] Google style for Java

2020-03-26 Thread Lister Jonathan
: Thursday, 26 March, 2020 01:24 To: Zahid Rahman Cc: users@netbeans.apache.org Subject: Re: [java] Google style for Java I went by configuring the required options myself. But thank you anyway! Mit freundlichen Grüßen/Best regards, Joel Strasser (joestr) strasser...@gmail.com<mailto:stras

Re: [java] Google style for Java

2020-03-25 Thread Joel Strasser
I went by configuring the required options myself. But thank you anyway! Mit freundlichen Grüßen/Best regards, Joel Strasser (joestr) strasser...@gmail.com On Thu, 26 Mar 2020, 01:45 Zahid Rahman, wrote: > “Integrate Google Java Style Guide in a Java project” by Alex Prut >

Re: [java] Google style for Java

2020-03-25 Thread Zahid Rahman
“Integrate Google Java Style Guide in a Java project” by Alex Prut https://link.medium.com/oMuepe6J94 On Wed, 25 Mar 2020, 22:22 Joel Strasser, wrote: > Hello, > > Is there a way to format Java files according to the Google style > guidelines? > > I tried various pl

[java] Google style for Java

2020-03-25 Thread Joel Strasser
Hello, Is there a way to format Java files according to the Google style guidelines? I tried various plugins but they did not satisfy my expectations. Are there other possibilities to accomplish this? Greetings, Joel

Re: Java project 'Cannot fix dependencies for'

2020-03-24 Thread Vladimir Kokovic
Hi, I did a debug netbeans copylibstask project and found a reason why this message appears! Most likely java-13 has some problem with jar-zip: unzip -tv /asoft-src/ispp-64/mingw32/ispp-32/VK-32/dist/VK-32.jar | less -N 1 Archive: /asoft-src/ispp-64/mingw32/ispp-32/VK-32/dist/VK-32.jar

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Vladimir Kokovic
Hi, I ask how to do it (LD_LIBRARY_PATH) according to java project? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Scott Palmer
You should set both. The LD_LIBRARY_PATH environment variable for the operating system, and the java.library.path system property for the JVM. Scott > On Mar 23, 2020, at 8:30 AM, Vladimir Kokovic > wrote: > > Hi, > Does this mean that the only solution is java.library.path system property,

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Vladimir Kokovic
Hi, Does this mean that the only solution is java.library.path system property, ie. that there is no LD_LIBRARY_PATH option? - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail:

Re: Java project LD_LIBRARY_PATH

2020-03-23 Thread Scott Palmer
It works for me. If you are loading the native library directly for JNI you must also set the java.library.path system property. Scott > On Mar 23, 2020, at 8:12 AM, gmail Vladimir Koković > wrote: > - To unsubscribe,

Java project LD_LIBRARY_PATH

2020-03-23 Thread gmail Vladimir Koković
Hi, I tried various ways to set LD_LIBRARY_PATH for some java project but none of the variants work! Is there anyone who has managed to do this and in what way? Thankful in advance. Vladimir Kokovic, DP senior (69) Serbia, Belgrade, March 23, 2020

Java project 'Cannot fix dependencies for'

2020-03-23 Thread gmail Vladimir Koković
Hi, I have a java project named SendEmailIzvodZakupci-32 That project depends on 2 java projects: VK-32 and pgjdbc Both dependent projects have dist/lib Both dist/lib are listed in the libraries list Build reports the message 'Cannot fix dependencies for: Z:\asoft-src\ispp-64\mingw32

Re: Java 14 / Netbeans download problem

2020-03-19 Thread Chris Olsen
uld work. I was able to download Java 14 and then point Netbeans to it using the Platform manager. It had never occurred to me as an amateur that one might want to (or could) have more than one version of Java at a time on one's computer. Perhaps a message with that workaround would be help

Re: Java 14 / Netbeans download problem

2020-03-19 Thread Emilian Bold
;I have GOT to learn to read the fine print... > > -- Chris > > - Original Message - > From: Geertjan Wielenga > To: Patrik Karlström > Cc: users > Sent: Wed, 18 Mar 2020 15:14:10 -0400 (EDT) > Subject: Re: Java 14 / Netbeans download problem > >

Re: Java 14 / Netbeans download problem

2020-03-18 Thread Chris Olsen
400 (EDT) Subject: Re: Java 14 / Netbeans download problem Or don’t use JDK 14 when installing as explicitly stated on the download page. Gj On Wed, 18 Mar 2020 at 20:11, Patrik Karlström wrote: > Pack200 was removed in Java 14. > https://openjdk.java.net/jeps/367 > > Try the zip vers

Re: Java 14 / Netbeans download problem

2020-03-18 Thread Geertjan Wielenga
Or don’t use JDK 14 when installing as explicitly stated on the download page. Gj On Wed, 18 Mar 2020 at 20:11, Patrik Karlström wrote: > Pack200 was removed in Java 14. > https://openjdk.java.net/jeps/367 > > Try the zip version of NetBeans and see if it works. > > > De

Re: Java 14 / Netbeans download problem

2020-03-18 Thread Patrik Karlström
Pack200 was removed in Java 14. https://openjdk.java.net/jeps/367 Try the zip version of NetBeans and see if it works. Den ons 18 mars 2020 kl 19:58 skrev Chris Olsen : > Hello, Everyone -- > >I just downloaded the AdoptOpenJDK, and installed it via the .msi > file. Then

Java 14 / Netbeans download problem

2020-03-18 Thread Chris Olsen
Hello, Everyone -- I just downloaded the AdoptOpenJDK, and installed it via the .msi file. Then I attempted to download Netbeans 11.3. The Netbeans installation reached an "unexpected exception," to wit: java.lang.NoClassDefFoundError: java/util/jar/Pack2

Re: [java] Unavailability of Netbeans Plugin Portal

2020-03-01 Thread Zahid Rahman
You have to wait until they paid their electricity bill. Then the site will be up. Backbutton.co.uk ¯\_(ツ)_/¯ ♡۶Java♡۶RMI ♡۶ Make Use Method {MUM} makeuse.org On Sun, 1 Mar 2020 at 13:42, Kian Seng Looi wrote: > Greetings, sir/madam, > > The portal for Netbeans

Fwd: [java] Unavailability of Netbeans Plugin Portal

2020-03-01 Thread Kian Seng Looi
Greetings, sir/madam, The portal for Netbeans plugins is unavailable now, may I know any fix on this issue? The exact site that I mention to: http://plugins.netbeans.org/ Thank you. Best Regards Looi Kian Seng

Re: Retrieving the module classpath to run an external Java program

2020-02-05 Thread Ernie Rael
M, Michael Wiedeking wrote: Hello. From within my plugin I need to start an external process running a Java program which needs some of my modules. Is there a way to retrieve a (runtime) classpath which contains all the locations of my modules' JAR files (including all the needed NetBeans mo

Retrieving the module classpath to run an external Java program

2020-02-05 Thread Michael Wiedeking
Hello. From within my plugin I need to start an external process running a Java program which needs some of my modules. Is there a way to retrieve a (runtime) classpath which contains all the locations of my modules' JAR files (including all the needed NetBeans modules)? Thanks, M

Re: [java] proposal for Quarkus plugin for NetBeans

2020-01-26 Thread zahid
9 AM Armel Nene <mailto:armel.n...@kiktronik.com>> wrote: As with the current maven support for Java development in Netbeans, the plugin will increase developer productivity and a better experience. Quarkus comes many options which one cannot possibly remember them all. My suggestion is

Re: [java] proposal for Quarkus plugin for NetBeans

2020-01-24 Thread Geertjan Wielenga
Select 'Project from Archetype' in the New Project dialog and then search for 'quarkus', click Finish, and choose Debug, Test, Run, or Profile. Gj On Sat, Jan 25, 2020 at 12:19 AM Armel Nene wrote: > As with the current maven support for Java development in Netbeans, the >

Re: [java] proposal for Quarkus plugin for NetBeans

2020-01-24 Thread Armel Nene
As with the current maven support for Java development in Netbeans, the plugin will increase developer productivity and a better experience. Quarkus comes many options which one cannot possibly remember them all. My suggestion is to have as another option (new project) under the Maven Java

Re: [java] proposal for Quarkus plugin for NetBeans

2020-01-24 Thread Geertjan Wielenga
first time here but I have been using Netbeans and blogging about for > over a decade. > > I am proposing a plugin to create a new type of Java projects based on the > Quarkus framework. The Quarkus framework helps developers create Java > applications which are opti

[java] proposal for Quarkus plugin for NetBeans

2020-01-24 Thread Armel Nene
Hi all, My first time here but I have been using Netbeans and blogging about for over a decade. I am proposing a plugin to create a new type of Java projects based on the Quarkus framework. The Quarkus framework helps developers create Java applications which are optimised for environment

RE: NetBeans 11.2 - how to use Remote Java SE for example with Raspberry Pi?

2020-01-16 Thread Lister Jonathan
Oh, After digging around for a while I found that the feature to run a project on a Remote Java Platform only works for Ant based projects, not Maven projects, that's a shame! From: Lister Jonathan Sent: Wednesday, 15 January, 2020 18:05 To: NetBeans Mailing Subject: NetBeans 11.2 - how

<    1   2   3   4   5   6   7   8   >