Похожие чаты

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

10 просмотров

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.

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

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

Комрады, посоветуйте, куда копать? Стал прикручивать кастомизацию тем. В OnShow главной главной формы пытаюсь загрузить из файла настроек и применить тему (на скрине, как долж...
Ed Doc
13
Какие дистрибутивы Linux чаще всего работают в качестве серверов и почему?
Alex
27
OnShow один раз вызывается? или возможен Hide?
Iluha Companets
14
Такс, блин, таки кто-то знает, каким образом работают макросы stdin/stdout/stderr? Я влез в stdio.h, там определения нет, отладил через асмокод - вызывается функция со странны...
The Bird of Hermes
18
коллеги привет. уже второй день бьемся об заклад с одной ошибкой, может вы сталкивались с таки странным поведением? есть тестовый сервер, на который паблишим релизную версию W...
Magzhan
8
Ребят, привет! Я портируюсь с войда на генту Читаю гентувики В разделе про разбивку диска указана xfs файловая система, а не ext4, как обычно Xfs имеет какие-то преимущества ...
Андрей Дыбов
21
А кто-то пробовал, уезжая из Эстонии получить э-рез и продолжить вести предпринимательскую деятельность внутри Эстонии, используя свой OÜ?
Lalalashechki Lalala
62
Lol is just wrote a long text about tokenomics etc and it was directly deleted, no curses or similar so i write it again in shorter. Hey Ben 600m eco system tokens, around 30...
. Duss
6
я не магистр хаскеля, но разве не может лейзи тип конвертнуться в не-лейзи запросив вычисление содержимого прям при инициализации?
deadgnom32 λ madao
100
Is Kadena onto something special? No one really knows. Good luck!
Bright Uncle Stephen EqualBet
40
Карта сайта