473,385 Members | 1,838 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

could i ask questions here about the java for dumies book

cause its asking me to do stuff in cmd and path stuff that im a little confused about can anyone help?
Jul 28 '07 #1
5 1272
blazedaces
284 100+
cause its asking me to do stuff in cmd and path stuff that im a little confused about can anyone help?
Hello, and welcome to TSDN! Here people are willing to help you with specific issues. To do so though, we need to know what is the problem.

Please explain what it is exactly that the "java for dummies" book is asking you to do that you are confused about. It would be best if you wrote the exact text from the book, what it is you tried to do, and what was your result so we can help you as much as possible.

Help us to help you. :)

-blazed
Jul 28 '07 #2
nomad
664 Expert 512MB
cause its asking me to do stuff in cmd and path stuff that im a little confused about can anyone help?
What Version do you have. I have the lastest version so I might be able to help you.

nomad
Jul 29 '07 #3
ok great i appreciate it.

first thing its saying is setting the path

it asks me to go into control panel
click the systems link
click advanced
click on environment variables select path and click edit
and it asks me to add the jdk bin folder to the beginning of the path value..

i think i did it but i have to ask how do i find the jdk bin folder and it gives an example of what to put

c:\ programs files\java\jdk1.6.0\bin;other directories i know thats not exactly the path where my jdk bin stuff is but this is where im lost.

I also have the lates version dl yesterday

And now for some reason i cant open up anything i dl from the web that opens up as java
Jul 29 '07 #4
JosAH
11,448 Expert 8TB
c:\ programs files\java\jdk1.6.0\bin;other directories i know thats not exactly the path where my jdk bin stuff is but this is where im lost.

I also have the lates version dl yesterday

And now for some reason i cant open up anything i dl from the web that opens up as java
The 'path' variable is an environment variable that tells the OS where to look for
executable programs. The value of that 'path' variable is a list of directories,
separated by a semi-colon on Windows computers.

Your c:\Program Files\java\jdk1.6.0\bin directory contains the executable files
for the Java Development Kit (jdk). If you include that directory in the path
variable, you're able to run each of these executables such as the compiler
'javac', or the java virtual machine itself'.

Check it out by starting a command line processor (cmd) and type 'javac'
(without the quotes). If your path variable contains the correct value you'd see
something like this:

Expand|Select|Wrap|Line Numbers
  1. Usage: javac <options> <source files>
  2. where possible options include:
  3.   -g                         Generate all debugging info
  4.   -g:none                    Generate no debugging info
  5.   -g:{lines,vars,source}     Generate only some debugging info
  6.   -nowarn                    Generate no warnings
  7.   -verbose                   Output messages about what the compiler is doing
  8.   -deprecation               Output source locations where deprecated APIs are used
  9.   -classpath <path>          Specify where to find user class files and annotation processors
  10.   -cp <path>                 Specify where to find user class files and annotation processors
  11.   -sourcepath <path>         Specify where to find input source files
  12.   -bootclasspath <path>      Override location of bootstrap class files
  13.   -extdirs <dirs>            Override location of installed extensions
  14.   -endorseddirs <dirs>       Override location of endorsed standards path
  15.   -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  16.   -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  17.   -processorpath <path>      Specify where to find annotation processors
  18.   -d <directory>             Specify where to place generated class files
  19.   -s <directory>             Specify where to place generated source files
  20.   -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
  21.   -encoding <encoding>       Specify character encoding used by source files
  22.   -source <release>          Provide source compatibility with specified release
  23.   -target <release>          Generate class files for specific VM version
  24.   -version                   Version information
  25.   -help                      Print a synopsis of standard options
  26.   -Akey[=value]              Options to pass to annotation processors
  27.   -X                         Print a synopsis of nonstandard options
  28.   -J<flag>                   Pass <flag> directly to the runtime system
  29.  
kind regards,

Jos
Jul 29 '07 #5
The 'path' variable is an environment variable that tells the OS where to look for
executable programs. The value of that 'path' variable is a list of directories,
separated by a semi-colon on Windows computers.

Your c:\Program Files\java\jdk1.6.0\bin directory contains the executable files
for the Java Development Kit (jdk). If you include that directory in the path
variable, you're able to run each of these executables such as the compiler
'javac', or the java virtual machine itself'.

Check it out by starting a command line processor (cmd) and type 'javac'
(without the quotes). If your path variable contains the correct value you'd see
something like this:

Expand|Select|Wrap|Line Numbers
  1. Usage: javac <options> <source files>
  2. where possible options include:
  3.   -g                         Generate all debugging info
  4.   -g:none                    Generate no debugging info
  5.   -g:{lines,vars,source}     Generate only some debugging info
  6.   -nowarn                    Generate no warnings
  7.   -verbose                   Output messages about what the compiler is doing
  8.   -deprecation               Output source locations where deprecated APIs are used
  9.   -classpath <path>          Specify where to find user class files and annotation processors
  10.   -cp <path>                 Specify where to find user class files and annotation processors
  11.   -sourcepath <path>         Specify where to find input source files
  12.   -bootclasspath <path>      Override location of bootstrap class files
  13.   -extdirs <dirs>            Override location of installed extensions
  14.   -endorseddirs <dirs>       Override location of endorsed standards path
  15.   -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  16.   -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
  17.   -processorpath <path>      Specify where to find annotation processors
  18.   -d <directory>             Specify where to place generated class files
  19.   -s <directory>             Specify where to place generated source files
  20.   -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
  21.   -encoding <encoding>       Specify character encoding used by source files
  22.   -source <release>          Provide source compatibility with specified release
  23.   -target <release>          Generate class files for specific VM version
  24.   -version                   Version information
  25.   -help                      Print a synopsis of standard options
  26.   -Akey[=value]              Options to pass to annotation processors
  27.   -X                         Print a synopsis of nonstandard options
  28.   -J<flag>                   Pass <flag> directly to the runtime system
  29.  
kind regards,

Jos

Ok so i need to put that path in and then i will let me run those commands.. see i had the path in but it was giving me an error message let me try again
THanks alot man i appreciate the help
Jul 29 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Aljo_ | last post by:
Hello! I got a free evaluation copy of Borland's JBuilder9. I also got a book about JAVA, and I am trying to type, compile and run some examples from the book. The following - very simple -...
0
by: Boris Ammerlaan | last post by:
This notice is posted about every week. I'll endeavor to use the same subject line so that those of you who have seen it can kill-file the subject; additionally, Supersedes: headers are used to...
8
by: Beatrice Rutger | last post by:
Hi, I am a previous Micro$oft desertee (moved from VB/VC++ to Java before this whole DOTNET thing) because I had several issues with Micro$oft. I am not completely in love with Windoze, but I...
7
by: David Brewster | last post by:
Hi everyone. I've been working with VB6 for a while now, I'm feeling pretty damn confortable with it, but find myself wondering about VB.NET and web applications. So I thought I'd get my feet wet....
0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
4
by: AzizMandar | last post by:
C++ Event Coding Questions I have done some simple programs in C++ and read a lot of good C++ books (Including The C++ Programing Language, and C++ Primer) I am trying to understand and...
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
8
by: wangdaixing | last post by:
I am reading "Programming .NET Components" 2nd Edition by Juval Lowy, O'Reilly. In Appendix E, there is a chapter "Coding Practices" which I agree and practice mostly. However, there are a few...
7
by: svpriyan | last post by:
Dear Buddies, I have two Java Prog: My task is to read the Content of the file and write to an XML file. so i started doing it perfectly... What i have problem is when i tried to execute the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.