Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My name

 
FCOOLTHIEF
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not wish to be banned but my true name is often mistakin for others as it is a common name(though very professional).However my true name is given a bad rep by a user who has the same name as me(unfortanatly he is not me).So I decided to use an allias so I am not mistaken for them if however my name is unexceptable please reply to this message and I will try to change my name hoping I can remember another name as long as I've used this one since I first becme apart of the internet. Thank You
sincerally,
Frank Pope
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
don't ban me I changed it any ways. my real name kinda looks cool on me dont it? You might know some of my relatives and give me some special treatment (maybee even a job someday!) lol. now that I'm me. make java more clear like for my most important question as my new or original self is.Is there a way to save multiple class paths or do I have to remember each one every time and how can I know for sure my class path is correct?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The default class path is the path to the directory you are in ( the "dot" (.)) directory. If your classpath includes the . (for example: C>CLASSPATH .;C:\java1.2; then you should be able to compile any class from the directory if you are in the directory the class is in. Hopefully your PATH statement includes the path to the java.exe file.
Marilyn
 
paul wheaton
Trailboss
Pie
Posts: 21384
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Frank Pope seems fine to me. I guess I must not know of the other Frank Pope.
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Man I feel so dumb about programming.I have all this nice software and a fairly decent CPU. When it comes to programming It's the tech stuff thats confusing ok let me put it like this ok your class path is; the path you compiler is at right? your path is where your program is compiled to right?I always like to start at the begining.
------------------
I gotta get this java thingy~~ Just hard to cram 16 languages at once so forgive me if I don't search first!
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The path is where the compiler (javac.exe, java.exe, etc) is - usually in C:\java1.2.2 or something similar on a windows PC.
The class path is the path to where you have your classes. If you are running java > 1.1, you shouldn't need to worry about classpath.
You should at least read the first page at http://www.javaranch.com/cattledrive.html.
Marilyn
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok in reading that page I want to stop when it says IDE cause I don't know what that is! Does that better explain why I don't' like learning form web pages?
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I can tell you this ive run two java programs i got the hello world thing going but im not sure if I remembered my class path correctly C:\jdk1.2.2\bin\javac HelloWorldApp.java
but I never acually set my class path cause i wasnt sure what I was doing I just typed it in every time i did not know if I would need to change it for something else or is java the only thing I would need to change it for. and as a refresher could you remind me exactly what I type to change it?
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IDE = Integrated Development Environment (a program used to help you write your program). examples: Turbo C++ & Visual C++ (for C++ obviously), Visual Cafe, Kawa, JBuilder, and others (for java). But you aren't supposed to use these, so knowing what they are is somewhat extraneous.
Marilyn
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh yeah and while I'm at it. Whats this thing about creating several different directories I hear about after downloading java should I need to make copies and transfer some of the files in other directories?Or can I use it all from where it is?
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have these and more you think the'll ever do away with DOS or is it worth sinking my teath into as much as possible?
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I actually have the visual j++ too so is that worth using and skip all the class stuff?
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the class path statement on the first page as follows "C:\JDK1.2\LIB;.;C:\JAVA" What is the ;.;for?
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im tired of playing around I think this is serious nite I'm not leaving till I get some where lol and when I put my mind to doing something it usually gets done lol!
 
paul wheaton
Trailboss
Pie
Posts: 21384
Firefox Browser IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you should skip any IDE, especially J++.
I don't think you need to make lots of directories. Installing the JDK from sun, will make a few, but usually you don't have to think about it. I just put all my stuff in C:\Java. When you get a little more experience, you might want to make some packages, but we can talk about that later.
DOS: There's really only seven or eight command in DOS that you need to know to do anything. CD to change directories, COPY, DEL (for deleting stuff), MD (make directory), RD (removed directory). To kick off a program just type it in. So "java" kicks off the java VM.
As for the ";.;" thing, in the classpath ";" delimits the list of directories that java will search through for classes. "." by itself means "current directory."
You'll probably get a lot more response if you post this stuff to the java beginner forum.
 
Frank Pope
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the tip I actually didnt realize where I was at first!
I had it bookmarked but Im there!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic