Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!

sree sowmya

Greenhorn
+ Follow
since Oct 08, 2012
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
7
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by sree sowmya

Hi
i wan to do sun certification in J2SE please tell the easy way to get it in first attempt.
Thanks for all the support i got

i have changed my class path o where the .class file is stored hat is D:\java

Now Im able to compile my program successfully


thank youuuuuuuuuuuu I feel this is the best blog and the best people i ever seen
6 years ago
thankyou soooooo much every one i got my first java program output
6 years ago
But i already set my class path
CLASSPATH is C:\Program Files\Java\jdk1.6.0_23\lib

should i delete it,
6 years ago
Thank you so much the javac command compiled successfully.

now problem is when running it I have attached a screen shot of my command prompt please check it below

6 years ago
i posted the problem briefly in the previous post but still here is the problem


im getting an error message as "javac is not recognized as internal or external command"


my PATH is C:\Program Files\Java\jdk1.6.0_23\bin\javac
CLASSPATH is C:\Program Files\Java\jdk1.6.0_23\lib
6 years ago
No no i have changed the program now im working on following code please help me from past 10 hours im breaking my head i dieing to see the out put of my first java program.


6 years ago
Hi,
I thank you both for taking your time to help me

as suggested i have changed my files to D directory instead of in programming files.

now the problem is when the files are in C drive i was able to compile my .java file using javac Hello.java
i created a folder in D with name as java and saving in that my programs.

D:\java> is my directory now

now im getting an error message as "javac is not recognized as internal or external command"

my PATH is C:\Program Files\Java\jdk1.6.0_23\bin\javac
CLASSPATH is C:\Program Files\Java\jdk1.6.0_23\lib
6 years ago
Thank you so much i think im troubling you much

but by solving one error im getting other errors

like missing return statement error

it became dream for me to successfully compile a java file
6 years ago
Thanks for the solution
i successfully entered to the directory

now my problem is with code syntax

Im getting error like line 28 ';' expected and also showing to change 'a' to upper case in ac.ShowData() and when i change it to upper case again telling to change 'A' to lower case.

please help me

below is the code im using



6 years ago
Hi
im new to java
to run a java program in windows 7
what software s i have to install and what paths i have to set
please explain briefly as explaining to a kid
6 years ago
Hi
I saved my first java program in C:\Program Files\Java\Account.java

To compile compile my source file, im trying to change my current directory C:\Users\sowmyasree> to the directory where my file is located. which is java on the C drive, i type the following command cd C:\java at the prompt and pressed Enter

i got an error message that The system cannot find the path specified please help me,
my OS is windows 7.

i want to learn java at any cost.

6 years ago