Похожие чаты

Hello. Today in my core Java lecture of college. Our

madam said that we would not be using any ide like Eclipse or anything coz it's too easy. We just press buttons and our code is complied and ran for us.
She said we will be using dos. After a while I figured out that she meant command prompt.
Also she said that we will use notepad for writing programs and save it in bin folder of the jdk.
After googling I found out that bin folder contains the executable java files which is machine code. And if we do not set path for bin and save and run java program from anywhere than bin folder then it won't run.
But when I installed the jdk and saved my program anywhere and ran it. It ran without any errors. I did not set any path.

Does current versions of java automatically sets path while installing?

Also the variable path doesn't collide with other path variables like for python, c, etc?

Thanks.

8 ответов

29 просмотров

she is a witch (or rather spelled with a b instead)

here's what you do. you install a proper text editor at very least like SciTE or Notepad++ and a proper command prompt alternative like cmder or mintty and you lie to her face

ANDRIO- Автор вопроса
Nader Jafari
here's what you do. you install a proper text edit...

Our lectures are online but they have kept the practicals offline so we will have to go to college and write programs on lab PC. I think I'll use notepad++. At least it'll highlight the syntax and error detection. I'll compile and run the code in cmd.

ANDRIO
Our lectures are online but they have kept the pra...

SciTE is just a single executable. get a copy of that on a thumb drive and use that on your lab pcs https://www.scintilla.org/Sc516.exe https://www.scintilla.org/Sc32_516.exe

Completely agree with everything that @System0x40 said. This phrase explains it all to me - coz it's too easy. I had the "pleasure" to listen to same kind of "teachers" unfortunately, when I did not realize the situation. If that was me attending those lectures, I would asked whether she wants to teach us programming or whether she wants us to make us struggle. I also suggest you to lie your way through it. And there's one big reason for that - she's doing the same to you, she's lying to you, she's not teaching you, but makes you suffer and makes you to hate java and all the programming at all. You paid for those lectures, you spent your time on listening to those, and you got nothing except headache.

Dmytro Buryak
Completely agree with everything that @System0x40 ...

I think he can learn the way the teacher wants for the sake of passing the class and find alternatives ways of learning the Java in effectively and efficiently ways.If this is university courses do the way she wants Like this other expert said you can learn otherwise different methods

Huston Shoo
I think he can learn the way the teacher wants for...

I agree, you're right. It highly depends on the situation and the person. If going against the directions of the teacher may result in lots of problems and loosing lots of what you was working on so hard (I mean your uni study and degree), then it doesn't make sense to risk. You're right. @andrio_official, be sure to take all the relevant factors into account before making decisions! Even if people here are suggesting you things that make sense, we don't know the whole picture, so be reasonable about taking decisions that may impact your life! ———— You know, it all depends. The older I become, the less fear I have, and become more pragmatic and cynic. With my current life experience, I don't have fear of failures, and if I was in a situation when I realize that I'm wasting my time and money on nothing, I would quit immediately. I wouldn't waste time on it. Also if I don't quit, that means that I continue supporting them. What's the point of wasting five years of your life on the uni which is all about to make you suffer, make it to be not "too easy", instead of teaching you, and giving you nothing in the end? There's perfect system in Canada, if I'm not mistaken, please correct me. Even if I'm wrong, just think of it as an "abstract perfect educational system" concept. They have a hard requirement for students: student must send feedback for each of his teachers before he can receive his papers for finishing the semester. That's perfect! This is how free market works - customers just don't buy bad products if there's much better one on the market. That motivates the producers to create nice products. And if there's a system in university where a teacher can do his/her job poorly and no one can do anything about it, then it's shitty system. And second "depends" is about the person - it really depends on the person. I can demonstrate it with an example. I was mentoring a trainee for the last several months, and I gave her the task to implement something and to apply decorator pattern specific way, even gave her a sketch as an example. And she implemented it different way, she didn't follow the sketch I gave her. And she explained why she did it so. At that moment I was very happy about her, as she not only implemented it much better than I proposed, but also she did not blindly trusted teacher's authority and thought it deeply. Imho, that's the best achievement for the teacher when your student doesn't follow stupid directions you gave. But again, it highly depends on the person.

Похожие вопросы

Обсуждают сегодня

а через ESC-код ?
Alexey Kulakov
29
30500 за редактор? )
Владимир
47
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
any reference of this implementation?
BitBuddha
29
Ⓐrtto, [4/23/24 7:02 PM] Please explain more fully how it is not working exactly, and what are the steps you are taking, and what error messages come or what happens. Ⓐrtto, ...
Ezza Kezza
2
sounds like people have lost their kaspa on tradeogre... does this mean tradeogre not trustworthy?
Ezza Kezza
15
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Недавно Google Project Zero нашёл багу в SQLite с помощью LLM, о чём достаточно было шумно в определённых интернетах, которые сопровождались рассказами, что скоро всех "ибешни...
Alex Sherbakov
5
So much speculation in the last week. So much volatility in price. This is because Hedera has a GC that isn't using the network it's governing. Why aren't people asking why a...
Summit Seeker R
9
Карта сайта