FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Looking for 6.5 NetBeans User with no JDK installation

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
Chris Kutler
Posted via mailing list.





PostPosted: Thu Aug 21, 2008 11:33 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Hi,

With NetBeans Ruby 6.5, you do not need to have a JDK installed on your
system in order to install and use the IDE. All of the systems that I
use to test the NetBeans Ruby docs (Kubuntu, Mac, and Windows) have JDK
installations.

I am looking for someone who is using NetBeans Rub 6.5 and who does not
have any JDK installations on their system. If you do, and are willing
to answer some questions for me, please contact me.

Thanks,

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Martin Krauskopf
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 5:13 am    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Chris Kutler wrote:
Quote:
Hi,

With NetBeans Ruby 6.5, you do not need to have a JDK installed on your
system in order to install and use the IDE.

You mean that JRE is enough or that there is something in the installer
which trigger installation of JRE/JDK if none of them is present on the
system?

BTW, I think that Erno told me (or might be here on the list or in some
issue), that some part of, mmm.... Glassfish deployment?, really do not
remember... needs JDK, not JRE only. Erno it is still true? If yes,
there should be a wiki telling what part of NetBeans Ruby needs JDK for
its functionality.

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 7:50 am    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Martin Krauskopf wrote:
Quote:
Chris Kutler wrote:
Quote:
Hi,

With NetBeans Ruby 6.5, you do not need to have a JDK installed on
your system in order to install and use the IDE.

You mean that JRE is enough or that there is something in the
installer which trigger installation of JRE/JDK if none of them is
present on the system?

BTW, I think that Erno told me (or might be here on the list or in
some issue), that some part of, mmm.... Glassfish deployment?, really
do not remember... needs JDK, not JRE only. Erno it is still true?
Yes, the jar command, which isn't part of JRE, is needed by Warbler for
creating .war files. The Rails wizard should display a warning when the
user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app servers in
general need JDK, and the reason for installing warbler is to be able to
deploy to app servers.

Quote:
If yes, there should be a wiki telling what part of NetBeans Ruby
needs JDK for its functionality.


Quote:

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 4:03 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Martin Krauskopf wrote:
Quote:
Chris Kutler wrote:
Quote:
Hi,

With NetBeans Ruby 6.5, you do not need to have a JDK installed on your system in order to install and use the IDE.

You mean that JRE is enough or that there is something in the installer which trigger installation of JRE/JDK if none of them is present on the system?
Here is an excerpt from the download page:

Quote:
Java 6 or Java 5 is required for installing and running the PHP, Ruby and C/C++ NetBeans Bundles. You can download the latest Java 6 Update 7 at java.com.

JDK 6 or JDK 5.0 is required for installing and running the Java SE, "Java" and "All" NetBeans Bundles. You can download standalone JDK or download the latest JDK6 Update 7 with NetBeans IDE Java SE bundle.

BTW, I think that Erno told me (or might be here on the list or in some issue), that some part of, mmm.... Glassfish deployment?, really do not remember... needs JDK, not JRE only. Erno it is still true? If yes, there should be a wiki telling what part of NetBeans Ruby needs JDK for its functionality.
Yes, that is exactly what I am trying to find out. What can you NOT do with NetBeans Ruby if you do not have the JDK.

Can you use Java in your JRuby source?
Can you deploy to GlassFish?

What have I not thought of, that would not work without a JDK?

What happens when you try to do these things without a JDK? What does the IDE do? Do you get error messages, NPEs, what?

Quote:

m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org (users-unsubscribe@ruby.netbeans.org)
For additional commands, e-mail: users-help@ruby.netbeans.org (users-help@ruby.netbeans.org)

Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 4:12 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Quote:
Yes, the jar command, which isn't part of JRE, is needed by Warbler
for creating .war files. The Rails wizard should display a warning
when the user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app servers
in general need JDK, and the reason for installing warbler is to be
able to deploy to app servers.
Interesting. The Ruby Only NetBeans comes with the GlassFish app server,
and new projects deploy to GlassFish by default. Does this work
seamlessly on systems without a JDK?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 4:33 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Chris Kutler wrote:
Quote:



Quote:
Yes, the jar command, which isn't part of JRE, is needed by Warbler
for creating .war files. The Rails wizard should display a warning
when the user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app servers
in general need JDK, and the reason for installing warbler is to be
able to deploy to app servers.
Interesting. The Ruby Only NetBeans comes with the GlassFish app
server, and new projects deploy to GlassFish by default. Does this
work seamlessly on systems without a JDK?
I think GlassFish requires a JDK, or at least some kind of a patched JRE
for compiling JSPs when running Java web apps. There may be also other
things in the app server that require a JDK. If nobody else here knows
more, we'll need to take this to some GF mailing list.

Erno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 4:37 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

I like to actually experience what it is that I write, but I can't in
this situation. So, I am still looking for some who can experience this
for me and can tell me what exactly happens when you create your first
project, which I assume defaults to the GlassFish server, and you accept
the defaults. What happens when you hit the Run button?

Also, what happens when you start including Java packages or using Java
classes in your source? Do you get errors in the editor? What happens
when you try to run the app?

Erno Mononen wrote:
Quote:
Chris Kutler wrote:
Quote:



Quote:
Yes, the jar command, which isn't part of JRE, is needed by Warbler
for creating .war files. The Rails wizard should display a warning
when the user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app servers
in general need JDK, and the reason for installing warbler is to be
able to deploy to app servers.
Interesting. The Ruby Only NetBeans comes with the GlassFish app
server, and new projects deploy to GlassFish by default. Does this
work seamlessly on systems without a JDK?
I think GlassFish requires a JDK, or at least some kind of a patched
JRE for compiling JSPs when running Java web apps. There may be also
other things in the app server that require a JDK. If nobody else here
knows more, we'll need to take this to some GF mailing list.

Erno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Peter Williams
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 4:49 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

I don't know if anyone has ever tried this.

There are some parts of GlassFish that require a JDK. Most parts do
not. It's doubtful that any of the parts that require a JDK are
commonly in use by Rails applications, but it's possible.

I coded the plugin (hopefully correctly) to handle this in that if the
user is running the IDE with a JRE, then we will start GlassFish with a
JRE. It ought to just work.

That said, I would not recommend that people, even Rails developers, use
the JRE. I would recommend they use a JDK. There are lots of extra
development tools in a JDK that are not present in the JRE and you never
know when they might prove useful. For example, none of jar, jstack,
jps, jmap or jhat are included in the JRE.

I wonder if profiling or JVM level debugging work on a JRE? I don't know.

-Peter

Chris Kutler wrote:
Quote:
I like to actually experience what it is that I write, but I can't in
this situation. So, I am still looking for some who can experience
this for me and can tell me what exactly happens when you create your
first project, which I assume defaults to the GlassFish server, and
you accept the defaults. What happens when you hit the Run button?

Also, what happens when you start including Java packages or using
Java classes in your source? Do you get errors in the editor? What
happens when you try to run the app?

Erno Mononen wrote:
Quote:
Chris Kutler wrote:
Quote:



Quote:
Yes, the jar command, which isn't part of JRE, is needed by Warbler
for creating .war files. The Rails wizard should display a warning
when the user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app
servers in general need JDK, and the reason for installing warbler
is to be able to deploy to app servers.
Interesting. The Ruby Only NetBeans comes with the GlassFish app
server, and new projects deploy to GlassFish by default. Does this
work seamlessly on systems without a JDK?
I think GlassFish requires a JDK, or at least some kind of a patched
JRE for compiling JSPs when running Java web apps. There may be also
other things in the app server that require a JDK. If nobody else
here knows more, we'll need to take this to some GF mailing list.

Erno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Fri Aug 22, 2008 6:57 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Chris Kutler wrote:
Quote:
I like to actually experience what it is that I write, but I can't in
this situation. So, I am still looking for some who can experience
this for me and can tell me what exactly happens when you create your
first project, which I assume defaults to the GlassFish server, and
you accept the defaults. What happens when you hit the Run button?

Also, what happens when you start including Java packages or using
Java classes in your source? Do you get errors in the editor? What
happens when you try to run the app?
You mean using Java classes from JRuby? There should be no errors in the
editor, and the app should run fine. Developing a Java project does
require a JDK though, and AFAIK the modules providing Java support (e.g.
Java projects, Java editing etc.) can't be enabled when running NB on a
JRE. But we don't use these modules for providing any editor features
for Java classes in JRuby code.

Erno

Quote:

Erno Mononen wrote:
Quote:
Chris Kutler wrote:
Quote:



Quote:
Yes, the jar command, which isn't part of JRE, is needed by Warbler
for creating .war files. The Rails wizard should display a warning
when the user chooses to install Warbler when using JRE, I filed
http://www.netbeans.org/issues/show_bug.cgi?id=144815 for that. It
should be a somewhat uncommon scenario though since Java app
servers in general need JDK, and the reason for installing warbler
is to be able to deploy to app servers.
Interesting. The Ruby Only NetBeans comes with the GlassFish app
server, and new projects deploy to GlassFish by default. Does this
work seamlessly on systems without a JDK?
I think GlassFish requires a JDK, or at least some kind of a patched
JRE for compiling JSPs when running Java web apps. There may be also
other things in the app server that require a JDK. If nobody else
here knows more, we'll need to take this to some GF mailing list.

Erno

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Mon Aug 25, 2008 12:11 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Martin Krauskopf wrote:
[..]
Quote:
there should be a wiki telling what part of NetBeans Ruby needs JDK
for its functionality.

I created http://wiki.netbeans.org/FaqRunningRubyIdeOnJre, everyone
please add there any features you're aware of that don't work with a JRE
only.

Erno


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Chris Kutler
Posted via mailing list.





PostPosted: Mon Aug 25, 2008 3:53 pm    Post subject: Looking for 6.5 NetBeans User with no JDK installation Reply with quote

Thanks Erno!

Erno Mononen wrote:
Quote:
Martin Krauskopf wrote:
[..]
Quote:
there should be a wiki telling what part of NetBeans Ruby needs JDK
for its functionality.

I created http://wiki.netbeans.org/FaqRunningRubyIdeOnJre, everyone
please add there any features you're aware of that don't work with a
JRE only.

Erno


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@ruby.netbeans.org
For additional commands, e-mail: users-help@ruby.netbeans.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB