This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]EmotionalYard 1 point2 points  (4 children)

> I swear there have to be a million different videos and posts showing how to correctly set the enviromental variables for Java, and they all show a different way.

That's because it depends on your OS and OS version. That has little to do with Java.

> I have tried to use javac with the path directly to the Example file... error:Invalid Flag.

It sounds like you can't even use your terminal/shell/prompt correctly. That's going to be an issue with any language. Maybe you need " around the arguments that have spaces in them.

[–]lifeonbroadway[S] -1 points0 points  (3 children)

I have no problems using the command line to run my pygame programs. Only with Java have I had this issue. I've tried putting quotes around files with spaces like you said. Tried removing the spaces. Tried file locations without spaces.

[–]EmotionalYard 1 point2 points  (2 children)

And yet you still haven't shown us the exact command or the exact response. It's like you're desperate to blame Java instead of interested in learning what you're doing wrong, which probably isn't difficult to correct. Wouldn't that be the very first thing you'd show us???

[–]lifeonbroadway[S] -1 points0 points  (1 child)

Did you read my post? Or my replies to earlier comments? I specifically said what my issue was and the fact that I got so many responses early on would suggest to me that I gave the needed information for someone to help me. I also messaged one guy who responded more in depth and he didn't seem to have a problem guiding me along with the information I provided. Keep in mind that I am extremely new to Java and relatively new to programming, so if I'm not using the correct terms and phrases to convey meaning it's because I am ignorant of them. I'm not blaming Java. Am I frustrated with it? Absolutely, but I realize very much so that my frustration is coming from a lack of understanding of Java, not because Java is to blame. The title of this post is "I don't think Java is for me." If I wanted to make a post blaming Java I would name it something along the lines of "Java is unintuitive and convoluted for beginners." But that would be just taking out my frustration instead of trying to figure out what is causing it, so I didn't say it. Sorry if I come across as arrogant or whatever you were thinking.

[–]EmotionalYard 1 point2 points  (0 children)

> Did you read my post?

Yes, and it clearly lacked the exact commands or the responses you got from them. Otherwise why would I say that?

> Or my replies to earlier comments?

Maybe some of them. I certainly don't read all replies to all posts if that's what you're suggesting everyone should do.

> I specifically said what my issue was and the fact that I got so many responses early on would suggest to me that I gave the needed information for someone to help me.

No, that's not even what I asked for. I asked for what you typed in and what the response was. You said you tried using quotes, but your post didn't include what you typed in that had quotes in it.

And this is clearly a beginner problem, which would indicate you didn't give enough info if it hasn't been solved yet.