[quote] Ola,
Cara não precisa hehe, a gente viu que o problema está na configuração do %PATH%, eu acho que deve ser um errinho bobo daqueles que é dificil perceber, talvez um nome errado, uma letra minuscula ou maiuscula…
Faça mais um teste, instale o JDK novamente mas agora em C:\java ai tente configurar o %PATH% para esse caminho.
Se mesmo assim não der certo eu sugiro você a pedir ajuda de alguém ai do seu lado que tenha conseguido fazer, porque deve ser um errinho mesmo que está passando desapercebido da gente… [/quote]
Depois disso Prompt ficou assim:[code]Microsoft Windows XP [versão 5.1.2600]
© Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrador>set path
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de prog
ramas\Arquivos comuns\Ulead Systems\MPEG;C:\Arquivos de programas\Arquivos comun
s\Ulead Systems\DVD;C:\Java\jdk1.6.0_07\bin;;C:\Arquivos de programas\Arquivos c
omuns\Ahead\Lib
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
C:\Documents and Settings\Administrador>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Arquivos de programas
\Arquivos comuns\Ulead Systems\MPEG;C:\Arquivos de programas\Arquivos comuns\Ule
ad Systems\DVD;C:\Java\jdk1.6.0_07\bin;;C:\Arquivos de programas\Arquivos comuns
\Ahead\Lib\
C:\Documents and Settings\Administrador>java -version
java version “1.6.0_07”
Java™ SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot™ Client VM (build 10.0-b23, mixed mode, sharing)
C:\Documents and Settings\Administrador>java
Usage: java [-options] class [args…]
(to execute a class)
or java [-options] -jar jarfile [args…]
(to execute a jar file)
where options include:
-client to select the “client” VM
-server to select the “server” VM
-hotspot is a synonym for the “client” VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
C:\Documents and Settings\Administrador>javac
Usage: javac
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are u
sed
-classpath Specify where to find user class files and annotati
on processors
-cp Specify where to find user class files and annotati
on processors
-sourcepath Specify where to find input source files
-bootclasspath Override location of bootstrap class files
-extdirs Override location of installed extensions
-endorseddirs Override location of endorsed standards path
-proc:{none,only} Control whether annotation processing and/or compil
ation is done.
-processor [,,…]Names of the annotation processors t
o run; bypasses default discovery process
-processorpath Specify where to find annotation processors
-d Specify where to place generated class files
-s Specify where to place generated source files
-implicit:{none,class} Specify whether or not to generate class files for
implicitly referenced files
-encoding Specify character encoding used by source files
-source Provide source compatibility with specified release
-target Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-Akey[=value] Options to pass to annotation processors
-X Print a synopsis of nonstandard options
-J Pass directly to the runtime system
C:\Documents and Settings\Administrador>echo %classpath%
%classpath%
C:\Documents and Settings\Administrador>javac HelloWorldConsole.java
javac: file not found: HelloWorldConsole.java
Usage: javac
use -help for a list of possible options
C:\Documents and Settings\Administrador>[/code]
Parece que estou errando na config da CLASSPATH certo?!
Ela está setada assim:
.;%JAVA_HOME%\lib
O código fonte do HelloWorlConsole segue abaixo.
public class HelloWorlConsole
{
public static void main (String args [])
{
System.out.println ( "Hello, World!!!" );
}
}
Mais já tá valendo, pelo menos o javac apareceu rsrsr. Vlw, pelo menos acredito que depois de uma dessa posso até dar um curso de instalação do JSE :shock: rsrsr