Hey everyone I'm new to forums so please forgive me if I am going about this in the wrong way. I did try the search feature and I read quite a few posts but I think that ultimately my questions might be better answered by just posting a new topic.
Q1) I started downloading things from sun's website and now I have 4 different folders in my Java folder (C:\Program Files\Java). I have the following folders:
I have read about "setting a path file to a bin" but I am unsure about which folder's bin I should be doing that for. I would assume the jdk because I think it has to do with the developer's kit, is this assumption correct? Would I just do the following:
"set path = C:\Program Files\Java\jdk1.6.0_14\bin" once I open the command prompt? (again, REALLY new to this)
I am just trying to get a general sense of what I need to do once I open the command prompt and at this moment in time I have no idea. Also, my second question deals with naming files and making folders for my projects.
Q2) Do I manually make the project folders in Windows before calling them from the command prompt?
So for example, I want a project folder called TimeManagementProject. This folder should hold my "classes" and "source" folder, followed by the "com" folder and "tweeam" folder.
Do I make the "TimeManagementProject" folder in Windows or through Java? If in Windows, do I put it in the "bin" folder from Question 1?
I am somewhat scared of the reaction from this question because I feel like I should know this from reading the book. Hopefully I don't get flamed for these two questions. Thanks in advance to anyone who can help me through this initial learning period :-)
Ignore all the other folders, unless you are running short of space on your hard disc.
If you search this forum, you will find lots of instructions about setting the PATH; this "common problems" page from the Java™ Tutorials (which you would do well to bookmark) has a link to how to set the PATH. That whole section takes you through starting your first ever application.
You can write set path = C:\Program Files\Java\jdk1.6.0_14\bin, yes, but you will have to do that every time you open a command prompt. You can of course use that technique to try different versions of Java.
You might have to write ;%PATH% at the end of that line, for access to other executables on your computer.. I think it's %PATH% but might be mistaken.
There are other ways to set the PATH; in the Java Tutorials link, it tells you how to set the PATH permanently, which most people do.
Don't put anything into the bin folder.
Easiest way to create a folder: open a command prompt (it opens in My Documents as a default), and write this sort of command: