473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

CMD Prompt for writing JAVA codes

xploreraj
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.
Feb 16 '10 #1
5 3584
pbrockway2
151 Expert 100+
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.
Feb 16 '10 #2
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
Feb 17 '10 #3
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
Feb 17 '10 #4
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
Feb 17 '10 #5
1. Read this before you act any further.
2. Ask a Question.
3. Select the appropriate topic.

Hope that helps :-)

Regards,
xploreraj
Feb 17 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
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++...
1
by: cheng | last post by:
can anyone give me java codes for dropdown menus for website.....
1
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() {
7
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...
3
by: Rajesh V | last post by:
Why Java codes take more run time than C/C++ ?
4
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.