Re: gradle: any way to specify JAVA_HOME for use with gradle?
I run nb with SETLOCAL SET JAVA_HOME=... START C:\sviluppo\programs\netbeans\14\bin\netbeans64.exe^ --jdkhome "%JAVA_HOME%"^ --userdir "C:\sviluppo\user.home\netbeans\14\userdir"^ --cachedir "C:\sviluppo\user.home\netbeans\14\cachedir"^ --console suppress^ -J-Duser.home=C:\sviluppo\user.home^ -J-Xms4096m^ -J-Xmx4096m (because I've multiple jdk but none of them _installed_, all uncompressed) But there's also a (commented) variable on nb folder : ./etc/netbeans.conf -- # Default location of JDK: # (set by installer or commented out if launcher should decide) # # It can be overridden on command line by using --jdkhome # Be careful when changing jdkhome. # There are two NetBeans launchers for Windows (32-bit and 64-bit) and # installer points to one of those in the NetBeans application shortcut # based on the Java version selected at installation time. # #netbeans_jdkhome="/path/to/jdk" -- bye, Davide On 10/09/2022 02:42, Ernie Rael wrote: I must run NB with jdk-11 (or jdk-15 but not the latest LTS). -- ing. Davide Grandi email: davide.gra...@email.it linkedin : http://linkedin.com/in/davidegrandi - 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
Re: How to get a reference to CloneableEditor or JScrollPane of the Editor
On 9/9/22 7:06 PM, Moacir da Roza wrote: Hi, there is a way to get a reference of JScrollPane of a CloneableEditor i would like to attach a listener on it.] SwingUtilities.getAncestorOfClass(javax.swing.JScrollPane.class, cloneableEditor.getEditorPane()) Thanks -- Moacir R.F Desenvolvedor de Softwares http://www.moacirrf.com.br - 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
How to get a reference to CloneableEditor or JScrollPane of the Editor
Hi, there is a way to get a reference of JScrollPane of a CloneableEditor i would like to attach a listener on it. [image: image.png] Thanks -- Moacir R.F Desenvolvedor de Softwares http://www.moacirrf.com.br
gradle: any way to specify JAVA_HOME for use with gradle?
I use gradle 6.8.x with some projects because of gradle issue https://github.com/gradle/gradle/issues/15942 Support for java based compilers like Eclipse Compiler... I use frgaal. (any idea if this gradle issue is being addressed in gradle 8 (or sooner)?) Set ProjectProperties > Build > Compile > JavaPlatform: JDK 11, restarted with 17, couldn't open projects. Tried a CleanAndBuild anyway, it failed. /Does setting the JavaPlatform for a gradle project do anything?/ I couldn't find anything in Tools > Options > Java > Gradle AFAICT, that means I must run NB with jdk-11 (or jdk-15 but not the latest LTS). -ernie - 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
Using the same userdir from previous release
With release 15 I did something like mkdir 15 cp -a 14/userdir 15/userdir Then start NetBeans-15 using 15/userdir and a fresh cachedir. Simpler than import settings. Is there any problem/downside doing this? -ernie - 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
Re: Access previous version
I guess you are using the Snap distribution. In that case it is: sudo snap revert netbeans that you are looking for. On Fri, Sep 9, 2022 at 10:37 AM Admin @ Goodun wrote: > NB 15 has installed itself automatically. How do I access NB14? > > Why do I ask? 14 opened a new browser window when debugging a php > website, 15 doesn't and I don't seem to be able to make it do so. That > instance of FF seems to have different settings for a plugin (Rested). > I'm trying to retrieve those settings. > > - > 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 > >
Access previous version
NB 15 has installed itself automatically. How do I access NB14? Why do I ask? 14 opened a new browser window when debugging a php website, 15 doesn't and I don't seem to be able to make it do so. That instance of FF seems to have different settings for a plugin (Rested). I'm trying to retrieve those settings. - 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
Re: File unexpectedly always opening in split window mode
P.S. Amusingly I see I've asked a similar/related question before, for which Neil Smith helpfully resolved it with a "Reset Windows" suggestion. However this doesn't solve it in this case. On 09/09/2022 16:44, Giles Winstanley wrote: As the subject states, I have a file (Gradle build file for a project) which as of today seems to always unexpectedly open in vertical split window mode (self/self, left/right). I never requested it, but it just suddenly happened one time when I opened it. I can cancel it reliably (View / Split / Clear), but it always reopens that way again after closing. Anyone have any clues what may be going on? Thanks, Stan NB15, macOS 12.5.1 (Intel), Adoptium JDK18.0.2.1 (64-bit), en-GB/UK - 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
File unexpectedly always opening in split window mode
As the subject states, I have a file (Gradle build file for a project) which as of today seems to always unexpectedly open in vertical split window mode (self/self, left/right). I never requested it, but it just suddenly happened one time when I opened it. I can cancel it reliably (View / Split / Clear), but it always reopens that way again after closing. Anyone have any clues what may be going on? Thanks, Stan NB15, macOS 12.5.1 (Intel), Adoptium JDK18.0.2.1 (64-bit), en-GB/UK - 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
Re: Which application(s) would you like embedded in NetBeans?
Very cool stuff! Any Apache projects would be great to support in this way, i.e., Jitsi would be interesting. Gj On Fri, Sep 9, 2022 at 11:12 AM Anthony Goubard wrote: > > Hi, > > A few months ago I released the "Applet Runner" NetBeans plug-in: > https://plugins.netbeans.apache.org/catalogue/?id=57 > It allows you to run Java applications embedded in NetBeans if they extend > (J)Applet. > I've already included a few of my software in the bookmarks (text tools, > dictionaries, vnc, ...) and now I'm wondering which kind of software would > you like to see running embedded in your IDE? > > Here are a few ideas I'm thinking of: > - A monitoring tool like monitoring if a server returns HTTP 200 or time-out > (like localhost:8080 or production), monitoring if a file exists, ... > The goal is to be alerted quicker if the server fails or to continue > developing while localhost is starting > - A file manager, so you don't need to switch between the IDE and the file > manager to do file operations or view files > - A HTML browser, for example to see Jira issues while developing or view > your website > - Show clipboard history in a list to easily pick up a previous copied text > - An audio recording tool to record thoughts while coding > - A mp3 player to play music/podcast while coding > - Run Jitsi (https://github.com/jitsi/jitsi/) embedded > - A basic chat program that supports Matrix or XMPP protocol > - Run JediTerm (https://github.com/JetBrains/jediterm) Terminal emulator in > NetBeans > - A basic Excel sheet viewer or a MS Word document viewer or a PDF viewer > - Highlight part of the screen for example when doing a presentation with > code > - Transform JMH benchmarks from text to a graph > > Let me know which idea you prefer or add new ideas. > > Best regards, > Anthony - 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
Which application(s) would you like embedded in NetBeans?
Hi, A few months ago I released the "Applet Runner" NetBeans plug-in: https://plugins.netbeans.apache.org/catalogue/?id=57 It allows you to run Java applications embedded in NetBeans if they extend (J)Applet. I've already included a few of my software in the bookmarks (text tools, dictionaries, vnc, ...) and now I'm wondering which kind of software would you like to see running embedded in your IDE? Here are a few ideas I'm thinking of: - A monitoring tool like monitoring if a server returns HTTP 200 or time-out (like localhost:8080 or production), monitoring if a file exists, ... The goal is to be alerted quicker if the server fails or to continue developing while localhost is starting - A file manager, so you don't need to switch between the IDE and the file manager to do file operations or view files - A HTML browser, for example to see Jira issues while developing or view your website - Show clipboard history in a list to easily pick up a previous copied text - An audio recording tool to record thoughts while coding - A mp3 player to play music/podcast while coding - Run Jitsi (https://github.com/jitsi/jitsi/) embedded - A basic chat program that supports Matrix or XMPP protocol - Run JediTerm (https://github.com/JetBrains/jediterm) Terminal emulator in NetBeans - A basic Excel sheet viewer or a MS Word document viewer or a PDF viewer - Highlight part of the screen for example when doing a presentation with code - Transform JMH benchmarks from text to a graph Let me know which idea you prefer or add new ideas. Best regards, Anthony