Re: Help with packages getting started



BlitzA wrote:
Lew wrote:
Lew wrote:
code. The tutorials on java.sun.com go into this.
Ok, your going to have to explain things.
...
Possibly a step-by-step guide of how to get this working If you have time ? -
I have a feeling it''s quite simple to do.
That's what the tutorials are for. Why should we have to explain things, when Sun did such a good job already? Read the tutorials.

Once you've read the tutorials you might consider Usenet as a way to deepen your understanding. I wouldn't expect anyone here to rewrite the tutorials for your convenience, though.


So theres a tutorial that specifically shows you how to make elements work
with JDK 6.0 in a small step-by-step guide?

If so please can you give the link?

Cheers.


I don't know where the tutorial is either but you can look here for some more information on CLASSPATH;

www.knutejohnson.com/classpath.html

CLASSPATH is one of the trickiest pieces of programming with Java.

There are some important tips to remember;

1) You don't want to set the CLASSPATH environment variable except in
a few rare circumstances
2) The CLASSPATH has to include all the bits you want to compile or run
3) If you use the -jar option on the command line to run a program
the -classpath or -cp command line options are ignored.

2 is probably where your problem lies. I don't see a . in the CLASSPATH so how is the runtime going to find your class?

--

Knute Johnson
email s/nospam/knute/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.



Relevant Pages

  • Re: Help with packages getting started
    ... The tutorials on java.sun.com go into this. ... As I said, I'm talking about tutorials with respect to setting the classpath for Java, which is where your problem lies. ... In a nutshell, you have to tell Java where the class is that you're trying to run, and as I pointed out earlier, that should most definitely not be in the Java installation directory tree, most especially particularly not in its bin/ subdirectory. ... So for the OP, this means picking a project directory, say, C:/projects, and building your stuff in a subdirectory there. ...
    (comp.lang.java.help)
  • Re: Exception in thread "main"
    ... sasu@capoeira.se (Antony Fernandez) wrote: ... > I've tried all solutions and tutorials i've found so far on the web. ... > each and everytime i change the CLASSPATH? ... We shouldn't be trying for bigger computers, but for more systems of computers. ...
    (comp.lang.java.help)