Re: JRE 11?

2018-11-03 Thread Paul Franz
To my knowledge there will be no JRE until April. 

Paul Franz
Senior Principal Applications Engineer


> On Nov 3, 2018, at 5:55 AM, Henderson, Roy  
> wrote:
> 
> This is not strictly a Netbeans question but I hope I will be allowed a 
> little latitude by the list as I’m sure the answer will be known here.
>  
> I have JDK 11 downloaded but I can’t find a download for JRE 11. Is there a 
> JRE 11 or has there been a fundamental change between 10 and 11 deployment 
> which I have missed?
>  
> TIA,
>  
> Roy
> This message may contain confidential and privileged information. If it has 
> been sent to you in error, please reply to advise the sender of the error and 
> then immediately delete it. If you are not the intended recipient, do not 
> read, copy, disclose or otherwise use this message. The sender disclaims any 
> liability for such unauthorized use. PLEASE NOTE that all incoming e-mails 
> sent to Weatherford e-mail accounts will be archived and may be scanned by us 
> and/or by external service providers to detect and prevent threats to our 
> systems, investigate illegal or inappropriate behavior, and/or eliminate 
> unsolicited promotional e-mails (spam). This process could result in deletion 
> of a legitimate e-mail before it is read by its intended recipient at our 
> organization. Moreover, based on the scanning results, the full text of 
> e-mails and attachments may be made available to Weatherford security and 
> other personnel for review and appropriate action. If you have any concerns 
> about this process, please contact us at datapriv...@weatherford.com.


Re: Determining execution environment properties.

2018-09-19 Thread Paul Franz

AZ,
   This seems to be turning more and more into questions about Java 
then how to use NetBeans. But I will help you, so if you check the 
documentation located at:


https://docs.oracle.com/javase/7/docs/api/java/lang/ProcessBuilder.html

which states that the "public Map environment()" API 
:


 "Returns a string map view of this process builder's environment. 
Whenever a process builder is created, the environment is initialized to 
a copy of the current process environment (see System.getenv()). 
Subprocesses subsequently started by this object's start() method will 
use this map as their environment.


The returned object may be modified using ordinary Map operations. These 
modifications will be visible to subprocesses started via the start() 
method. Two ProcessBuilder instances always contain independent process 
environments, so changes to the returned map will never be reflected in 
any other ProcessBuilder instance or the values returned by 
System.getenv."


So the value for the map (i.e. the context variable from the code 
below) will have the value of the environment variable "PROMPT". I am 
not sure why you are checking whether it is a string. By definition of 
the variable context it will always be a string. If the value of context 
is null, then it will no be a string but it is not the correct way to 
check to see if the variable is null. It just needs to check if context 
is not null (i.e. "if (context != null)") then the environment variable 
"PROMPT" exists.


Note #1: Further discussion on Java related issues should be moved 
to another mailing list/sub reddit/IRC channel/etc community.
Note #2: This is feeling more and more like you are asking us to 
help you with your computer programming homework.



Paul Franz
Senior Principal Applications Engineer
Oracle Transportation Management
Phone #: 1-610-729-3347
Skype Id: PaulPFranz

On 19 Sep 2018, at 3:50, A Z wrote:


I am using the following to try and determine some more
execution context:

 ProcessBuilder builder = new ProcessBuilder();

 Map map = builder.environment();

 String context = map.get("PROMPT");

 if(context instanceof String)

 //...

The only thing that I have been able to discern is that you have the

PROMPT

key if you are running from the command line, whereas
if you are testing inside Netbeans, that key does not appear.

What I can't work out is what the environment Key value is
if I am double clicking on a successfully self executing .jar file.
Is anyone associated with this mailing list able to tell
me what the key value is then?





Re: Netbeans Console issue with separate Java programs.

2018-09-18 Thread Paul Franz
What you need to do is have the output of the spawned process redirected to the 
STDOUT and STDERR of the current process. The following should work:

ProcessBuilder pb = ProcessBuilder.command (“java”, “-Xmx8192m”, “-cp”, 
“MemoryLauncher.jar”, "Project.Main”);
pb.inheritIO();
pb.start();

Paul Franz 


> On Sep 18, 2018, at 2:39 AM, A Z  wrote:
> 
> I am running Netbeans 9 64 bit on 64 bit Windows 10 Home Edition.
> 
> I am calling an additional full java program from with the source
> code of an initial one, in order to increase the 64 bit memory limit:
> 
> Process process = Runtime.getRuntime().exec("java -Xmx8192m -cp 
> MemoryLauncher.jar Project.Main");   
> 
> I am finding that the console will listen to the main method in the first 
> program,
> but won't listen to the main method in the second program.  Nor does Netbeans 
> 9 seem to have
> an option to do so.
> 
> How can I listen to the other program?  While I can just add this 
> successfully to the end
> of an ordinary program anyway, does the Netbeans console have an option
> to change which java program it displays information from?



Re: Unable to start MySQL in NetBeans

2018-04-25 Thread Paul Franz

Martin,
Did you do as it asked? (i.e. "run mysql_upgrade" to create the 
mysql.plugin table)


Paul Franz
Senior Principal Applications Engineer
Oracle Transportation Management
Phone  #: 1-610-729-3347
Skype Id: PaulPFranz


On 25 Apr 2018, at 10:59, Martin O'Shea wrote:


Hello

I have just upgraded my installation of MySQL from 5.x to 8.0.11 but 
find that in NetBeans 8.2 when I try to start MySQL from the Services 
tab in the IDE, that I am given messages:


2018-04-25T13:46:12.356385Z 0 [System] [MY-010116] [Server] C:\Program 
Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.11) starting 
as process 3468

mysqld: Table 'mysql.plugin' doesn't exist
2018-04-25T13:46:15.088859Z 0 [ERROR] [MY-010735] [Server] Can't open 
the mysql.plugin table. Please run mysql_upgrade to create it.
2018-04-25T13:46:15.576408Z 0 [Warning] [MY-010015] [Repl] Gtid table 
is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2018-04-25T13:46:16.729741Z 0 [Warning] [MY-010068] [Server] CA 
certificate ca.pem is self signed.
2018-04-25T13:46:16.735829Z 0 [ERROR] [MY-010262] [Server] Can't start 
server: Bind on TCP/IP port: Unknown error
2018-04-25T13:46:16.736018Z 0 [ERROR] [MY-010257] [Server] Do you 
already have another mysqld server running on port: 3306 ?

2018-04-25T13:46:16.736247Z 0 [ERROR] [MY-010119] [Server] Aborting
2018-04-25T13:46:18.039621Z 0 [System] [MY-010910] [Server] C:\Program 
Files\MySQL\MySQL Server 8.0\bin\mysqld.exe: Shutdown complete (mysqld 
8.0.11)  MySQL Community Server - GPL.


Yet MySQL 8.0.11 is working correctly and reports no errors of its 
own.


Is NetBeans 8.2 not compatible with MySQL 8.0.11?

I have added the mysql-connector-java-8.0.11.jar as a NetBeans 
plug-in. However, I can only get Java-based applications in NetBeans 
to talk to MySQL by adding the .jar file to the version of Apache 
Tomcat that is used, and to the lib folder of the applications 
themselves.


Thanks

Martin O'Shea.





Re: Gradle project created by Grails has error on load

2018-04-16 Thread Paul Franz
My guess is that Gradle 3.4.x does not recognize the new java version. 
From Java 1.0 to Java 8.0. The version string has always been 1.x. So 
for JDK 8 the version string is actually 1.8 not 8.0. In JDK 9, this was 
change (URL: 
https://blogs.oracle.com/java-platform-group/a-new-jdk-9-version-string-scheme 
). So I think this requires the use of either JDK 8 or a newer version 
of Gradle. The latest being 4.6 .


Paul Franz
Senior Principal Applications Engineer
Oracle Transportation Management
Phone  #: 1-610-729-3347
Skype Id: PaulPFranz


On 16 Apr 2018, at 2:18, Matthias Barmeier wrote:


Hi all,

I have created a Gradle project with grails 3. The I try to load it i 
get this exception:


Stack trace:
org.gradle.tooling.GradleConnectionException: Could not create an 
instance of Tooling API implementation using the specified Gradle 
distribution 
'https://services.gradle.org/distributions/gradle-3.4.1-bin.zip'.
	at 
org.gradle.tooling.internal.consumer.loader.DefaultToolingImplementationLoader.create(DefaultToolingImplementationLoader.java:110)
	at 
org.gradle.tooling.internal.consumer.loader.CachingToolingImplementationLoader.create(CachingToolingImplementationLoader.java:44)

….
   Caused by: java.lang.IllegalArgumentException: Could not determine 
java version from '9.0.4'.

at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:70)
at org.gradle.api.JavaVersion.current(JavaVersion.java:80)
	at 
org.gradle.internal.jvm.UnsupportedJavaRuntimeException.assertUsingVersion(UnsupportedJavaRuntimeException.java:29)


What means Could not determine java version from ‚9.0.4‘ isn’t 
netbeans 9 for Java 9 ?


Ciao
Matze


-
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: Do you use NetBeans with SVN or CVS?

2018-03-08 Thread Paul Franz

The dev list seems to agree with you.

Paul Franz
Senior Principal Applications Engineer
Oracle Transportation Management


On 8 Mar 2018, at 11:28, Niklas Matthies wrote:

SVN is still widely used within companies, including my workplace. In 
many such environments with long-running projects involving hundreds 
of SVN modules, the benefits of Git do not outweigh the cost of 
switching and the additional usage complexity Git brings about. SVN 
will stay relevant for quite a while. I'd be absolutely against 
dropping support for it.


Niklas


On Thu 2018-03-08 at 15:05h, Eduard wrote on users:

I'm using SVN.

I'd be against removing SVN support from NB, doing would greatly 
reduce the

usefulnes of NB for me.
--
Eduard

David Heffelfinger wrote:
Thanks for bringing this up, I'll discuss with the NetCAT 
organizers.


David

On Thu, Mar 8, 2018 at 8:41 AM, Brett Ryan <brett.r...@gmail.com
<mailto:brett.r...@gmail.com>> wrote:



On 9 Mar 2018, at 00:34, David Heffelfinger
<dheffelfin...@gmail.com <mailto:dheffelfin...@gmail.com>> 
wrote:



We have Test Specifications for both CVS and SVN at

https://urldefense.proofpoint.com/v2/url?u=http-3A__netbeans-2Dvm.apache.org_synergy_client_app_-23_tribe_32_view=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=EcmJw5w5_JwgxWVY0cXI7CbhRL7cdQVx1VkrFecP7nQ=

<https://urldefense.proofpoint.com/v2/url?u=http-3A__netbeans-2Dvm.apache.org_synergy_client_app_-23_tribe_32_view=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=EcmJw5w5_JwgxWVY0cXI7CbhRL7cdQVx1VkrFecP7nQ=>.


You can remove cvs, just checked, it was removed in 7.1 RC1. I
vote we remove svn also.


https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.netbeans.org_CVSSupport=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=HgIrsiEMRjHiS3hL4HvteRrCHGMxBRn4V8nrfgbr1vo=

<https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.netbeans.org_CVSSupport=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=HgIrsiEMRjHiS3hL4HvteRrCHGMxBRn4V8nrfgbr1vo=>

None of the NetCAT 9.0 Version Control tribe members have 
access

to CVS or SVN repositories to test against, that's why we're
looking for volunteers.

David

On Thu, Mar 8, 2018 at 7:25 AM, Brett Ryan 
<brett.r...@gmail.com

<mailto:brett.r...@gmail.com>> wrote:

I thought we deprecated both of these years ago? Actually
wasn’t CVS taken out in 7.?

On 8 Mar 2018, at 21:56, David Heffelfinger
<dheffelfin...@gmail.com <mailto:dheffelfin...@gmail.com>> 
wrote:



All,

This year I'm leading the NetCAT Version Control Tribe. We
need volunteers that are using NetBeans with CVS or SVN to
help us test integration with these two VCS tools.

If you are using NetBeans with either one, we could really
use your help. Please sign up at

https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_NetCAT-2B9.0-2BParticipants=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=nNuaF_nUtC2qWwQBPFBkFd3l4LnrfPli8qs5tUa5TBI=

<https://urldefense.proofpoint.com/v2/url?u=https-3A__cwiki.apache.org_confluence_display_NETBEANS_NetCAT-2B9.0-2BParticipants=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=nNuaF_nUtC2qWwQBPFBkFd3l4LnrfPli8qs5tUa5TBI=>.

Thanks!
David

-- 
https://urldefense.proofpoint.com/v2/url?u=http-3A__ensode.net=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=blpJybwduiperVgEmzakmttdWJtWSm7vJkn1BzSHHOM= 
<https://urldefense.proofpoint.com/v2/url?u=http-3A__ensode.net_=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=_T9IvbgYhplDLWlu4QES7c5RppwaXq-GulMKhlVl7FE=> 
- A

Guide to Java,
Linux and Other Technology Topics
My Books:

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.packtpub.com_authors_profiles_david-2Dheffelfinger=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=FjvsW90PKoOYMVsj6ymexkCdiXoDvGSnRuj2IoGocmg=fIgy52D99-L3DvLWPJ4alLlm9cvt-xeItaiQkg9EsvU=rNyS1r-6Gxzw7xAl_chyMkVUotoS7iNAeR96EICyzBs=

<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.packtpub.com_authors_profiles_david-2Dheffelfinger=DwIDaQ=RoP1YumCXCga