how to compile your .java files with: "Java SE Development Kit 7"
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
how to compile your .java files with: "Java SE Development Kit 7"
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
i have jdk 7, and when i run javac.exe with my .java file as argument and then when i look in the folder where my .java file was ther is no class file!!!
btw when i type in cmd javac C:\test\les1.java it says that it isn't a command
How are you running javac?
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
just typing in command promt
javac
but it says it isn't a command
i do it by "run" and it doesn't create a .class file
At the very top of the page I sent you, there's a link to this, which explains exactly what's going on: Lesson: Common Problems (and Their Solutions) (The Java™ Tutorials > Getting Started)
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
It's surely not a command.when i type in cmd javac C:\test\les1.java it says that it isn't a command
First, cd to the directory where your .java exists. Then compile it.