login about faq


I am trying to make some programs on my computer and when I do it says sometimes if I have errors within my program. What I am worried about is if that would affect the rest of my computer in some way. I have a Mac.

asked Feb 14 '12 at 22:32

cashman0712's gravatar image

cashman0712
1223

I too would like to know this as well as it would prove to be very informative for me.

(Feb 14 '12 at 23:31) JordanV JordanV's gravatar image

Depends on your program.

If it is for deleting all the files on your computer then yes errors are not good to have.

Bit of a strange question TBH. If you know how to program why ask such a question?

answered Feb 15 '12 at 00:49

Jackster1337's gravatar image

Jackster1337
8.5k178213300

edited Feb 15 '12 at 00:50

Well for me it is informative as I am in a programming class and just starting off. I want to make sure I'm not going to be messing up anything with my system. What we do is totally different though, we only really make programs that run within the Terminal. So I would assume getting an error only corresponds with the program itself.

(Feb 15 '12 at 02:21) JordanV JordanV's gravatar image

Getting an error when you compile from the command line with javac won't have any effect on your computer at all. When the java compiler finds an error in the program you wrote, it stops trying to compile. Your program will never get to the stage where you can run it. Even if javac compiles your program successfully, you still need to run the compiled bytecode manually with the java command. Your computer is completely fine.

answered Feb 15 '12 at 15:46

MrAnthology's gravatar image

MrAnthology
865611

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported


Join Us in the Chat Room

Tags:

×1,971
×87
×13
×7

Asked: Feb 14 '12 at 22:32

Seen: 633 times

Last updated: Feb 15 '12 at 15:46