Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Re: java virtua...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 778 of 803
Post > Topic >>

Re: java virtual machine - help me please?

by "Mitchell_Collen" <u33726@[EMAIL PROTECTED] > Jun 15, 2007 at 04:17 PM

Ok thank you for your help Joshua. I didn't think of it being a
configuration
problem. I will put the java file in my home directory after I install the
JDK. I don't understand what a class path is, Does this mean a class file
folder?
Thanks, Misty

Joshua Cranmer wrote:
>> Hello All,
>> I have installed jre1.4.2_14 and I have been trying to get a small
"hello
>> world type" program to run.
>
>JRE != JDK. What you want to get is the JDK (preferably a newer one, say 
>1.5 or 1.6)
>> recognize the command. However, when I type java the error says that it
>> cannot find Main string in java.lang <-- I don't have full message
because I
>The error you a giving is not very helpful -- it looks like you are 
>trying to say java java.lang which has several problems in its own right 
>that I am not going to address.
>
>> Error : Invalid path, \bin\javac.exe -source 1.5 -classpath "C:\Program
Files\
>> Java\j2re1.4.2_14\bin" -d C:\Program" "Files\Java\j2re1.4.2_14\bin
>> @[EMAIL PROTECTED]
"
>Several things wrong with this:
>1. You seem to be building inside the Java file, which is not a very 
>good idea. Ideally your classpath should be somewhere else, like in a 
>{home dir}\Java\Project.
>2. The path seems to be off...
>
>Finally, this isn't a Java virtual machine problem; this is a Java 
>configuration problem. Therefore, I am X-posting to c.l.j.h with 
>follow-up set to c.l.j.h.

-- 
Message posted via JavaKB.com
http://www.javakb.com/Uwe/Forums.aspx/java-jvm/200706/1




 3 Posts in Topic:
java virtual machine - help me please?
"Mitchell_Collen&quo  2007-06-14 17:57:14 
Re: java virtual machine - help me please?
Joshua Cranmer <Pidgeo  2007-06-14 23:06:23 
Re: java virtual machine - help me please?
"Mitchell_Collen&quo  2007-06-15 16:17:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 3:29:15 CDT 2008.