Java //Help

Posted by Ferret on Dec. 10, 2009, 11:37 p.m.

Thank you everyone who helped me in my last blog.

I've tried out the things that you guys suggested to me and I still am without my java…

So I list.

Eclipse

Still giving me trouble, I don't want to toy with it anymore.

Net Beans

My god. Sure it's easy to set up, no problems, but then it forces me to make a project first. Fine by me, I've worked with projects before. But then I try to compile and it starts spewing out folders into my java folders. Very unnecessary folders might I add. I hate it when a program (besides explorer) creates folders… So none of that…

Notepad++

I liked this program from the beginning. Does the color highlights, can have multiple tabs, and speaks every language I could ever consume. Small problem, it doesn't compile (aka .java to .class). So those small cows told me to use command lines with NP++. That would be great, I would get to use the simple but useful notepad++ and not have to create folders everywhere for projects I'm messing around with. Sooo I do the command line and it doesn't work… (yes I use the javac, I tried changing the directory to the file and used javac) After messing a bit with command lines I've concluded that Windows does not know where my java stuff is. Sadly I do not understand how to change the path for windows (Tutorials were old…)

So I cry out to small cows and anyone else who could help in this situation. My folder is "C:\Program Files (x86)\Java" and that contains "jdk1.6.0_14" "jdk1.6.0_17" "jre1.6.0_06" "jre1.6.0_16" and "jre6". Am I missing anything? I did basic install of jdk from the sun website.

Comments

PY 14 years, 4 months ago

Neither is bash, at least by default. Windows' cli has colours and everything!

I'd rather be using bash, but cmd is very usable regardless.

Ferret 14 years, 4 months ago

lol changing the colors… cmd looks better black in white. I could go the whole day cmd, I think it's pretty easy to use.

PY 14 years, 4 months ago

If you like cmd, definately grab a copy of Cygwin. Use your new-found PATH editing skills to add it's \bin directory, which should give you the best versions I've seen of useful tools like vim, ls, rm, so on. Then, open regedit, and go to HKLM\SOFTWARE\Microsoft\Command Processor\AutoRun. This key lets you specify a file to execute every time a cmd window opens - point this to a .bat file and you have .bashrc style preferences. .bashrcs are most useful for setting up aliases, though, so take a look at doskey, the (inbuilt, has been there since forever) alias and macro tool.

Also check out Console2, to give a nicer window for your shell. Things like resizability go a long way. cmd isn't perfect, but it's certainly usable.