I want to learn Java, so today I downloaded Sun's new jkd 1.2.2. Nothing seems to work. Even the Hello,World example in their doc fails to run. Has anyone else had any better luck? Thanks. -- Kenneth R. Kellum -- San Jose State University What do you call an enlightened hillbilly? Babba Ram Bubba -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Kenneth, I have gotten this to work with the candidate releases. One thing that can get you with Java is not having the current directory "." in your path. I don't like to do that as a rule, but I've found it necessary in order to get java to do what I expect. If you give a bit more detail, I'll see what I can do to help. Java is a very good language to learn. It can be slow and bloated, but it makes programmers far more productive. There are an infinite number of great extensions to the core. Hope you get it working. Steve Kenneth Kellum wrote:
I want to learn Java, so today I downloaded Sun's new jkd 1.2.2.
Nothing seems to work. Even the Hello,World example in their doc fails to run.
Has anyone else had any better luck?
Thanks.
-- Kenneth R. Kellum -- San Jose State University
What do you call an enlightened hillbilly? Babba Ram Bubba
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Will this package be included in SuSE 6.4? -- Nicholas 3:46pm up 3:00, 2 users, load average: 1.97, 1.50, 1.20 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
* Nicholas (mcmxc@freemail.gr) [20000312 17:28]:
Will this package be included in SuSE 6.4?
No, it won't :( The reason is the license fee we'd have to pay in order to
put it on the CD.
Philipp
--
Philipp Thomas
Java requires a CLASSPATh environment variable. This is where you should put the '.'. Java uses a system of packages and this is why you cannot get your stuff to run. Try setting an environment variable called CLASSPATh to include your HOME directory and '.' Christopher T. Beers Systems Administrator Computer Sciences Corporation Syracuse, New York (315)432-6911 voice (315)432-3450 fax
Kenneth,
I have gotten this to work with the candidate releases. One thing that can get you with Java is not having the current directory "." in your path. I don't like
Kenneth Kellum wrote:
Has anyone else had any better luck?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Thanks to all who replied. Actually, I'd made a newbie mistake: My HelloWorld class name didn't match the file name. (Duh!) I've got simple stuff working now. I've downloaded JBuilder 3 and am starting to experiment with that now. Thanks again. On Sun, 12 Mar 2000, Christopher T. Beers wrote:
Java requires a CLASSPATh environment variable. This is where you should put the '.'. Java uses a system of packages and this is why you cannot get your stuff to run. Try setting an environment variable called CLASSPATh to include your HOME directory and '.'
Christopher T. Beers Systems Administrator Computer Sciences Corporation Syracuse, New York (315)432-6911 voice (315)432-3450 fax
Kenneth,
I have gotten this to work with the candidate releases. One thing that can get you with Java is not having the current directory "." in your path. I don't like
Kenneth Kellum wrote:
Has anyone else had any better luck?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- Kenneth R. Kellum -- San Jose State University What do you call an enlightened hillbilly? Babba Ram Bubba -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Christopher, If I remember correctly Java 2 doesn't require a classpath unless you add class outside of the core distribution. Most extensions can be put in the jre/lib/ext and will be found without a class path. Java is a bit arcane behind the scenes. It's getting better. Or perhaps I'm finally getting the hang of it. Steve "Christopher T. Beers" wrote:
Java requires a CLASSPATh environment variable. This is where you should put the '.'. Java uses a system of packages and this is why you cannot get your stuff to run. Try setting an environment variable called CLASSPATh to include your HOME directory and '.'
Christopher T. Beers Systems Administrator Computer Sciences Corporation Syracuse, New York (315)432-6911 voice (315)432-3450 fax
Kenneth,
I have gotten this to work with the candidate releases. One thing that can get you with Java is not having the current directory "." in your path. I don't like
Kenneth Kellum wrote:
Has anyone else had any better luck?
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Steve: You are correct when you say that JDK1.2.2 does not require a classpath variable. The reason this is is that the javac compiler already has a defined classpath variable which includes the current directory. I have been deveolping Java programs ever since it first became a language. I studied Java at SUNY Oswego starting 6 years ago under Doug Lea (who develop the java.util stuff for Java). The first release of java required this. I stand corrected. However, Java enables you to package certain classes. This is java's way of grouping classes together under a common name. When you type import java.awt; you are importing a package. Because I have developed Java programs for such a long time, I have a classpath which is set to this $HOME/public_html/:. This allows me to declare all of my program under the $HOME/public_html directory as packages. For example imagine that there is a file called $HOME/public_html/Applets/HellowWorldApplet.java I add a line in my file declaring that this file is a memebr of the pacakge Applets. The line would look like this package Applets; This example does not really show you how to use packages, however you can imagine a lot of programs which have the same function (like java.lang, java.util, java.awt, java.applet) would be packaged together. This allows protected variables to be accessed and altered within the Java Security model. I hope this explains a little better why a CLASSPATH evironment variable may or may not be needed in your circumstance. Sorry for any confusion. Since this is not a Java mailing list you can feel free to mail me personally if you feel your questions do not pertain to most peopleon this list. Christopher T. Beers Systems Administrator Computer Sciences Corporation Syracuse, New York (315)432-6911 voice (315)432-3450 fax On Sun, 12 Mar 2000, Steven T. Hatton wrote:
Christopher,
If I remember correctly Java 2 doesn't require a classpath unless you add class outside of the core distribution. Most extensions can be put in the jre/lib/ext and will be found without a class path. Java is a bit arcane behind the scenes. It's getting better. Or perhaps I'm finally getting the hang of it.
Steve
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (5)
-
cbeers@bu.edu
-
hattons@cpkwebser5.ncr.disa.mil
-
kkellum@pacbell.net
-
mcmxc@freemail.gr
-
pthomas@suse.de