Hi there, would you please explain me in detail on how to use the command prompt for writing, compiling and running java programs (JSE).
Thanks.
5 3588
Well, good luck but if you stop and think about it, it is you who should be providing the detail. Things like what your operating system or shell is, since this has a huge bearing on how you use the command line.
Lots of very detailed explanations and descriptions already exist. If nobody cares to reinvent the wheel you might want to check out "Hello World for Windows" (there's a Linux version of the tutorial near by).
If there's anything there that you can't understand, ask about that.
No no, I am a beginner and don't want to use the IDE now. I want to start from the beginning using "cmd prompt".
I want to
(i) create a classname.java file using cmd, (how?)
(ii) save it using cmd, open the editor with C:\>Program.....jdk1.6.0_11>bin>??? edit ???, that has by default blue background, (code?)
(iii) write the source code in that editor, (I know basic programs!!)
(iv) then go back to cmd prompt, compile with javac classname.java, and finally run it by java classname.
I am not getting the exact codes for them. Please help me.
Thanks
Thank you, Pbro, very much. It's all about writing, saving, compiling and running basic JAVA programs solely with the help of and on cmd prompt in DOS. This is what exactly recommended for beginners.
I have cured the flaws, and summarised them in picture attachments for reference purposes.
Dear beginners, please look at the attachments, if you want to know about the above mentioned situations. Gladly speaking, have patience!! It will be helpful.
Click on the following link. http://ow.ly/18bPv
Regards,
xploreraj
Guys sorry for disturbing all of you..
Im new here,just registered >_<
My point is,where can i post my question??
Its about..
I need to make some simple coding for calculator for convert binary to hexadecimal..and vice versa in JAVA
Anyone can help me plz?? T_T
p/s: sorry with my English
1. Read this before you act any further.
2. Ask a Question.
3. Select the appropriate topic.
Hope that helps :-)
Regards,
xploreraj
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Brilliance Qian |
last post by:
I was used to write codes based on MFC on VC++ 6.0. Now the development
platform in our company is immigranted to Microsoft Visual C++ .Net. Can
anyone recommend some reference books on Visual C++ .Net? Thanks in
advance.
|
by: cheng |
last post by:
can anyone give me java codes for dropdown menus for website.....
|
by: fAnSKyer/C# newbie |
last post by:
private void startupServer() {
try {
serverscoket = new ServerSocket(Listener.PORTNUMBER);
SERVER_ON = true;
} catch (IOException e1) {
e1.printStackTrace();
}
}
public void run() {
|
by: rohitsripathi |
last post by:
i need help writing this program... i am in college and i do not have time do this right now as i need to study for another test....but this is due tonight...i will pay $5 if you accept to do it and i will pay another $10 upon completion>
CISY 103 - Project 01 - Fall 2007 - 02x
Daily Sales report for Kahuna Burgers
Overview
The manager of...
|
by: Rajesh V |
last post by:
Why Java codes take more run time than C/C++ ?
| |
by: phpuser123 |
last post by:
I just happened to read abt vectors in java..For some practice,I implemented this small script where I Store objects in a vector..Then,I want to invoke the methods of the corresponding objects.My problem is that in this line
System.out.println(vc.elementAt(i).test3());
the test3() method of my object is being underlined..I know I am...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |