Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 5 of 5

Thread: environmental problems of how installing what and where

  1. #1
    Member
    Join Date
    Jun 2013
    Posts
    61
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default environmental problems of how installing what and where

    I have some advanced knowledge of Java programming, though never studied programming or computerscience as a regular career, so I am always suffer of some lack of knowledge or understanding.

    I am getting into data base sql and stuff. Reading about it and find the text/ instructions easy to understand and quite straight forward, good!

    But I am having problems with all the surrounding issues like: installing this, downloading such, apache here apache there....

    Most of this page Getting Started (The Java™ Tutorials > JDBC(TM) Database Access > JDBC Basics) is a kind of magic for me, and the hardest question is: where can one really learn how to do things discussed at that page (I own a Imac which makes things even more complicated, right?).

    Some concrete questions:

    -??? "Ensure that the full directory path of the Java SE SDK bin directory is in your PATH environment variable so that you can run the Java compiler and the Java application launcher from any directory."

    -I basically could question each line....

    -what about this one: "Create a directory to contain all the files of the sample. These steps refer to this directory as <JDBC tutorial directory>" I thought directories look like this ueser/download/etc?
    So how do I create a directory: <JDBC tutorial directory>

    thanks

    --- Update ---

    When I downloaded the JDBCTutorial.zip folder I used the next farmer's trick:
    I started a java project at Netbeans with the name of the zip folder
    and copied the content of the zip into the project folder...
    It sort of worked but, of course, there are some missing links as always!
    I really would like to get some personal coaching on these environmental issues,
    anybody near to Barcelona?


  2. #2
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: environmental problems of how installing what and where

    You might look for another tutorial that includes Linux/Mac instructions. When you say,
    Create a directory to contain all the files of the sample . . . So how do I create a directory
    I'm curious if that'll help. You don't know how to create a folder on your iMac?

  3. #3
    Member
    Join Date
    Jun 2013
    Posts
    61
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: environmental problems of how installing what and where

    "You don't know how to create a folder on your iMac?" Sure, Greg, but they want some filepath probably for my netbeans platform in which I compile stuff (or I just got confused).

    I recently got involved with PHP, a real relief after studying Java. PHP is a short of narrowed version of a procedural java without the dizzy making OOP! But then again you have to install server stuff (apache etc.). Than you really get into a tiny cute small application called "terminal" (note the deeper meaning here). Than you get into stuff as sudo, sado etc. and eventually some very nice remarks pop up like: "if you'r not sure what you are doing...... you may have to re-install your entire system....", man where to learn all this stuff?
    I might go into some reading of Netbeans and sql,, I just think of, right?

  4. #4
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: environmental problems of how installing what and where

    I own a Imac which makes things even more complicated, right?
    If you are on an iMac with OS 10 or higher, its a unix environment often making development easier. Mysql is already installed (though probably not started), and many applications (JRE, JDK, mysql, perl, python, etc...) should already be installed and on the path, not to mention the huge number of tools unix has for programming and text processing (grep, awk, sed, less, cat, more, emacs, etc...) Along these same lines:

    ??? "Ensure that the full directory path of the Java SE SDK bin directory is in your PATH environment variable so that you can run the Java compiler and the Java application launcher from any directory."
    Open up the terminal, type javac -version, if it spits out the version number then the SDK is on the path (at least that version if you have multiple versions). The Path denotes how the terminal locates tools such that you can simply type the tool name as opposed to having to define the location of the tool (for instance 'grep' instead of '/usr/bin/grep')

    So how do I create a directory: <JDBC tutorial directory>
    The <Directory> syntax or similar is often used to denote a folder independent of the computer. cd into the directory you wish to have all your files and use the mkdir tool to create your directory of the specified name.

  5. #5
    Member
    Join Date
    Jun 2013
    Posts
    61
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: environmental problems of how installing what and where

    I am studying Unix right now, many thanks

Similar Threads

  1. problem with installing netBeans
    By Afraa in forum Java IDEs
    Replies: 0
    Last Post: February 17th, 2013, 10:23 AM
  2. Replies: 12
    Last Post: August 28th, 2012, 01:07 AM
  3. INSTALLING JAVA COMMUNICATION API ON A MAC OS
    By AgentDucky in forum Java ME (Mobile Edition)
    Replies: 0
    Last Post: July 1st, 2012, 01:50 PM
  4. Need help installing JDK/Texpad
    By unholyx in forum Computer Support
    Replies: 2
    Last Post: January 28th, 2012, 05:59 PM
  5. Evaluate the environmental flexibility of programming in Java?
    By azzic7 in forum Java Theory & Questions
    Replies: 1
    Last Post: June 26th, 2010, 11:57 AM