Vista Trouble with javac

Hello i currently own the windows vista. Im having a lot of trouble with the HelloWorldApp.java. When i type in the code '' javac HelloWorldApp.java '' the following message pops up '' Exeption in thread ''main'' java.lang.NoClassDefFoundError: sun/tools/javac/Main '' Please help

thank you

[315 byte] By [Junior-Holographic_engioneira] at [2007-11-27 10:17:07]
# 1

What's the code, this is pointing to your code calling a class named "Main" from the "sun.tools.javac" package.

Somewhere in your code you are making either a bad call, have missed a classdef, or have not set an environment variable right in Windows.

watertownjordana at 2007-7-28 15:49:36 > top of Java-index,Java Essentials,New To Java...