Re: Is JShell suposed to work?

2020-08-25 Thread Jeremy Cavanagh

Thanks John,

I have already looked at some of these but still no luck. So I shall 
give it a rest for now.


Regards

Jeremy

On 24/08/2020 22:09, John Kostaras wrote:

There seem to be still a number of open issues about JShell in JIRA

(also a google search

).

It could be many things. Messed up classpath in your system, migrating the
profile of a previous NB installation etc.

You may try some advice here
.
Otherwise, try a clean install of NetBeans, modifying etc/netbeans.conf
pointing to a correct jdk (>8).





On Mon, 24 Aug 2020 at 20:46, Laszlo Kishalmi 
wrote:


Thanks Geertjan!

I was fixated searching for JShell not Java Platform Shell.

Checked on Linux with 14.0.2-zulu. It works as expected.

On 8/24/20 9:26 AM, Geertjan Wielenga wrote:

Should be in two places — right-click on a project (to include the

project

path in the shell) and under the Tools menu.

Gj

On Mon, 24 Aug 2020 at 18:20, Laszlo Kishalmi 
Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3



On 8/24/20 7:06 AM, Jeremy Cavanagh wrote:


Hi,
I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with
zulu-11 and 14 jdks no problem.
I have been very adventurous installing payara etc. things that I have
not done before! Maven works, I can index local and remote servers,
download etc.
I've Created simple maven, payara and JavaFX projects all very
successfully.
And much more...
Everything works to my personal amazement (absolutely no negative
expectations of all you hard working committers, just tremendous
congrats to all).
However, there is just one thing that I cannot sort out and that is
JShell. It works fine in the terminal with jdk 11 and 14, but for the
life of me, I cannot get it to work in Apache NetBeans.
I get a long winded error message (abbreviated)
Could not initialize JShell: ...
... caused by: VM initialization failed for:
/Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java
-classpath
/Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug
-Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 54662
Any ideas?
Regards
Jeremy
-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org

For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Is JShell suposed to work?

2020-08-24 Thread John Kostaras
There seem to be still a number of open issues about JShell in JIRA

(also a google search

).

It could be many things. Messed up classpath in your system, migrating the
profile of a previous NB installation etc.

You may try some advice here
.
Otherwise, try a clean install of NetBeans, modifying etc/netbeans.conf
pointing to a correct jdk (>8).





On Mon, 24 Aug 2020 at 20:46, Laszlo Kishalmi 
wrote:

> Thanks Geertjan!
>
> I was fixated searching for JShell not Java Platform Shell.
>
> Checked on Linux with 14.0.2-zulu. It works as expected.
>
> On 8/24/20 9:26 AM, Geertjan Wielenga wrote:
> > Should be in two places — right-click on a project (to include the
> project
> > path in the shell) and under the Tools menu.
> >
> > Gj
> >
> > On Mon, 24 Aug 2020 at 18:20, Laszlo Kishalmi  >
> > wrote:
> >
> >> Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3
> >>
> >>
> >>
> >> On 8/24/20 7:06 AM, Jeremy Cavanagh wrote:
> >>
> >>> Hi,
> >>> I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with
> >>> zulu-11 and 14 jdks no problem.
> >>> I have been very adventurous installing payara etc. things that I have
> >>> not done before! Maven works, I can index local and remote servers,
> >>> download etc.
> >>> I've Created simple maven, payara and JavaFX projects all very
> >>> successfully.
> >>> And much more...
> >>> Everything works to my personal amazement (absolutely no negative
> >>> expectations of all you hard working committers, just tremendous
> >>> congrats to all).
> >>> However, there is just one thing that I cannot sort out and that is
> >>> JShell. It works fine in the terminal with jdk 11 and 14, but for the
> >>> life of me, I cannot get it to work in Apache NetBeans.
> >>> I get a long winded error message (abbreviated)
> >>> Could not initialize JShell: ...
> >>> ... caused by: VM initialization failed for:
> >>> /Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java
> >>> -classpath
> >>> /Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug
> >>> -Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y
> >>> org.netbeans.lib.jshell.agent.AgentWorker 54662
> >>> Any ideas?
> >>> Regards
> >>> Jeremy
> >>> -
> >>> To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
> >>> For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
> >>
> >> For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>


Re: Is JShell suposed to work?

2020-08-24 Thread Laszlo Kishalmi

Thanks Geertjan!

I was fixated searching for JShell not Java Platform Shell.

Checked on Linux with 14.0.2-zulu. It works as expected.

On 8/24/20 9:26 AM, Geertjan Wielenga wrote:

Should be in two places — right-click on a project (to include the project
path in the shell) and under the Tools menu.

Gj

On Mon, 24 Aug 2020 at 18:20, Laszlo Kishalmi 
wrote:


Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3



On 8/24/20 7:06 AM, Jeremy Cavanagh wrote:


Hi,
I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with
zulu-11 and 14 jdks no problem.
I have been very adventurous installing payara etc. things that I have
not done before! Maven works, I can index local and remote servers,
download etc.
I've Created simple maven, payara and JavaFX projects all very
successfully.
And much more...
Everything works to my personal amazement (absolutely no negative
expectations of all you hard working committers, just tremendous
congrats to all).
However, there is just one thing that I cannot sort out and that is
JShell. It works fine in the terminal with jdk 11 and 14, but for the
life of me, I cannot get it to work in Apache NetBeans.
I get a long winded error message (abbreviated)
Could not initialize JShell: ...
... caused by: VM initialization failed for:
/Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java
-classpath
/Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug
-Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y
org.netbeans.lib.jshell.agent.AgentWorker 54662
Any ideas?
Regards
Jeremy
-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org

For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: Is JShell suposed to work?

2020-08-24 Thread Geertjan Wielenga
Should be in two places — right-click on a project (to include the project
path in the shell) and under the Tools menu.

Gj

On Mon, 24 Aug 2020 at 18:20, Laszlo Kishalmi 
wrote:

> Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3
>
>
>
> On 8/24/20 7:06 AM, Jeremy Cavanagh wrote:
>
> > Hi,
>
> >
>
> > I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with
>
> > zulu-11 and 14 jdks no problem.
>
> >
>
> > I have been very adventurous installing payara etc. things that I have
>
> > not done before! Maven works, I can index local and remote servers,
>
> > download etc.
>
> >
>
> > I've Created simple maven, payara and JavaFX projects all very
>
> > successfully.
>
> >
>
> > And much more...
>
> >
>
> > Everything works to my personal amazement (absolutely no negative
>
> > expectations of all you hard working committers, just tremendous
>
> > congrats to all).
>
> >
>
> > However, there is just one thing that I cannot sort out and that is
>
> > JShell. It works fine in the terminal with jdk 11 and 14, but for the
>
> > life of me, I cannot get it to work in Apache NetBeans.
>
> >
>
> > I get a long winded error message (abbreviated)
>
> >
>
> > Could not initialize JShell: ...
>
> >
>
> > ... caused by: VM initialization failed for:
>
> > /Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java
>
> > -classpath
>
> > /Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug
>
> > -Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y
>
> > org.netbeans.lib.jshell.agent.AgentWorker 54662
>
> >
>
> > Any ideas?
>
> >
>
> > Regards
>
> >
>
> > Jeremy
>
> >
>
> > -
>
> > To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
>
> > For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
>
> For additional commands, e-mail: dev-h...@netbeans.apache.org
>
>
>
> For further information about the NetBeans mailing lists, visit:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
>
>
>


Re: Is JShell suposed to work?

2020-08-24 Thread Laszlo Kishalmi

Hmm, I no longer find the action for JShell in the IDE. 12.1-beta3

On 8/24/20 7:06 AM, Jeremy Cavanagh wrote:

Hi,

I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with 
zulu-11 and 14 jdks no problem.


I have been very adventurous installing payara etc. things that I have 
not done before! Maven works, I can index local and remote servers, 
download etc.


I've Created simple maven, payara and JavaFX projects all very 
successfully.


And much more...

Everything works to my personal amazement (absolutely no negative 
expectations of all you hard working committers, just tremendous 
congrats to all).


However, there is just one thing that I cannot sort out and that is 
JShell. It works fine in the terminal with jdk 11 and 14, but for the 
life of me, I cannot get it to work in Apache NetBeans.


I get a long winded error message (abbreviated)

Could not initialize JShell: ...

... caused by: VM initialization failed for:
/Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java 
-classpath
/Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug 
-Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 54662


Any ideas?

Regards

Jeremy

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-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: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Is JShell suposed to work?

2020-08-24 Thread Jeremy Cavanagh

Hi,

I've installed 12.1b3 via the binary on macOS 10.14.6 and used it with 
zulu-11 and 14 jdks no problem.


I have been very adventurous installing payara etc. things that I have 
not done before! Maven works, I can index local and remote servers, 
download etc.


I've Created simple maven, payara and JavaFX projects all very 
successfully.


And much more...

Everything works to my personal amazement (absolutely no negative 
expectations of all you hard working committers, just tremendous 
congrats to all).


However, there is just one thing that I cannot sort out and that is 
JShell. It works fine in the terminal with jdk 11 and 14, but for the 
life of me, I cannot get it to work in Apache NetBeans.


I get a long winded error message (abbreviated)

Could not initialize JShell: ...

... caused by: VM initialization failed for:
/Library/Java/JavaVirtualMachines/zulu-14.jdk/Contents/Home/bin/java 
-classpath
/Users/***/java/modules/ext/nb-mod-jshell-probe.jar: -Xdebug 
-Xrunjdwp:transport=dt_socket,address=mbp.home:54663,suspend=y 
org.netbeans.lib.jshell.agent.AgentWorker 54662


Any ideas?

Regards

Jeremy

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists