Похожие чаты

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 ответов

32 просмотра

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.

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

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

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта