Похожие чаты

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

27 просмотров

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.

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

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

Ready for some fun AND a chance to win TKO Tokens? Join us for exciting minigames in our Telegram group! 🕒 Don’t miss out—games start on today 25 October 2024, at 8 PM! Ge...
Milkyway | Tokocrypto
255
Добрый вечер. Есть вопрос, а может и предложение. Был у меня диалог в другой группе о делфи и я задался вопросом: "А нельзя ли в делфи цвет //коментария и {комментария} сде...
Kraszx
24
How about the project bro Likes the community not that active ?
🅿️abby_FX
19
Всем привет! Подскажи, пожалуйста, как передать в TComboBox сразу значение и id записи. На Delphi я делал так: ComboBox1.Items.AddObject('Какое-то значение', Pointer(id запис...
Евгений
13
Мдя, прикол, боевая сборка запускается (именно под отладчиком) после F9 примерно полторы минуты (97 секунд если быть точным). Начал копать - проблема детектится сразу - зависа...
Александр (Rouse_) Багель
38
How are we going bro about the Raids ??
🅿️abby_FX
13
Россия стала ввозить сливочное масло из ОАЭ. Просто ради любопытства взглянул на статистику и впечатлился. У арабов среднестатистическая корова дает около 42 литров молока в д...
Foxcool
2
Здравствуйте, вопрос по структурам данных. Были у вас случаи, когда пришлось писать деревья или двунаправленные списки?
/ /
50
Товарищи, кто работа с iphelper? Или может я в самой логике ошибки фигачу, не пойму.... var ifTable : PMIB_IFTABLE; size, corSize: DWORD; Buffer ...
Warfarellen
4
я так понимаю, я так подозреваю, что создание такого плагина для человека, кто умеет писать плагины для делфи потребует минут 5-10 времени. но это мое подозрение. хотелось бы ...
Kraszx
7
Карта сайта