Absolute beginner to java

hi everyone
i am an absolute beginner to java
where do i start pls?
what does it do?
dezzyM

Welcome to the forum!
Buy a book on Java or find one on the web.
You can also go thru The Java Tutorials. It covers most of the core functionality and has examples that include source code.
http://docs.oracle.com/javase/tutorial/

Similar Messages

  • Best absolute beginner book

    Hi eveyrone,
    I need opinions here... I would like to know what the best ABSOLUTE beginner book would be, for Java - in your opinion. I've been messing with Java for the past couple days.. and haven't got very far.
    I have used Visual Basic in the past. I do not know C/C++.
    Thanks for the opinions!
    -Jonzo

    There's no absolute best. A lot of it depends on the individual's style, etc.
    All of the following should be decent. Check them out and find out which ones work best for you.
    Sun's basic Java tutorial
    Sun's New To Java Center. Includes an overview of what Java is, instructions for setting up Java, an intro to programming (that includes links to the above tutorial or to parts of it), quizzes, a list of resources, and info on certification and courses.
    http://javaalmanac.com. A couple dozen code examples that supplement The Java Developers Almanac.
    jGuru. A general Java resource site. Includes FAQs, forums, courses, more.
    JavaRanch. To quote the tagline on their homepage: "a friendly place for Java greenhorns." FAQs, forums (moderated, I believe), sample code, all kinds of goodies for newbies. From what I've heard, they live up to the "friendly" claim.
    Bruce Eckel's Thinking in Java (Available online.)
    Joshua Bloch's Effective Java
    Bert Bates and Kathy Sierra's Head First Java.

  • An absolute beginner

    Hello,
    I'm an absolute beginner. I work in the Windows 2000 Professional environment. I downloaded J2SDK1.4.0_01 but I cannot run HelloWorldApp. After typing
    javac HelloWorldApp.java
    in the command line I only get another prompt (after delay of some secs).
    I downloaded and installed the program in the default folder j2sdk1.4.0_01. I also added the path
    ;C:\>j2sdk1.4.0_01\bin; in the Control Panel\System\Advanced\Environment Variables\System Variables\Path.
    After typing
    javac -verbose HelloWorldApp.java
    I get the following message answer:
    [parsing started HelloWorldApp.java]
    [parsing completed 161ms]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/lang/Object.class]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/lang/String.class]
    [checking HelloWorldApp]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/lang/System.class]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/io/PrintStream.class]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/io/FilterOutputStream.class]
    [loading C:\J2SDK~1.0._0\jre\lib\rt.jar(java/io/OutputStream.class]
    [wrote HelloWorldApp.class]
    [total 4056ms]
    C:\>
    I also didn't find any HelloWorldApp.class file.
    Any suggestion would be appreciated. I have to run this file in two days!!!

    you compile with the -d directive, which indicatesthat the class file should be sent to the directory
    you specify after the -d switch.
    If your doing neither of these, your .class file
    should be in the directory you compiled from.
    Remember that when you run your application, you
    should be running "java HelloWorldApp" not "java
    HelloWorldApp.class", and that it is case sensitive,
    so "java helloworldapp" will not work.Thanks very much limeybrit9! Though HelloworldApp.class still does not appear in the original directory. However, I created a new directory and I tried luckily and succeded to use the -d switch after which I specified the new directory. HelloWorldApp.class appeared in the new directory. And I could run it and it worked! Piece of cake, ha? Just kidding...
    Thank you again,
    Igor

  • General questions from an absolute beginner

    Dear all,
    my employer would like to have me set up an online help for our software product. Since I am in the process of converting the current documentation to FrameMaker I have lightly issued the idea to use RoboHelp since we have the technical communications suite 2... I am saying "lightly" because I am freaking out a bit ever since I have tried getting into it, needless to say I have not been very successful and I was not able to find any "classroom in a book"-like help. I didnt find the Adobe help section for RoboHelp very... helpful, I just felt overwhelmed with all the information i didn't feel I needed at the point I was at. Is there a step by step documentation of some sorts for the absolute beginner who does not even have any xml or html skills worth mentioning (I am not sure to what extend those might be needed)?
    Also from an advanced user's point of view, how developed will my html/xml skills have to be in order to really understand and get the best of this program? Depending on this I might or might not be able to book a class but it won't be of any use if i need skills I dont have (yet) in order to even understand the program. In the worst case I might have to do some research on alternatives, although I feel stupid, since the tool is available and im not sure if better alternatives would be easier to use as well...
    I am happy for any advice, thank you!

    Hi Jeff,
    right now the problem is more "Getting Started" and im sure once I am at the point where I need to import the FM content this will be a helpful suggestion! But for now I was more wondering on whether there was a step-by-step thingy to help me get into it to begin with and whether i need a lot of xml/html to use RoboHelp...

  • Looking for a good beginner/intermediate Java book

    Hello everyone,
    I am looking for a good beginner/intermediate Java book. I have taken a couple of Java classes (Beginner programming + beginner Java) and have a fairly good understanding of the basics. What I want is a book that is going to build on that as well as give me some good practical problems to work on while I'm doing so. Can anyone recommend one or two good books that would fit the bill?
    Thanks!

    Those three books are all excellent, but are all beginner books. When it comes to intermediate books I think you need to go topic by topic.

  • Absolute beginner: Artistic (Chalk/Charcoal) Brush

    First of all I apologize for this silly question; I am an absolute beginner (minus absolute) in Illustrator. I would have googled my problem but I don't even know what to google, to be honest. Here it is:
    I drew a heart and would like to stroke it with a charcoal/chalk brush. I use a Wacom Intuos 4 tablet. When I stroke it (by selecting the path and clicking on the different brush samples in the brush library) the line "imitates" gesture drawing and does not stroke my shape with a unified (weight) line. Instead, it leaves a break between the end of my path and the end of the "gesture stroke. (The same thing happens with straight lines too: the stroke does not go up to the end of the line and often it does not start at the beginning of it.) I would also like it to be the same weight all along and not to get thinner in the end. Here is a picture of what I mean:
    I know it is something really really basic but I can't figure out how to change this. Any help would be highly appreciated. And again, sorry for this absolute beginner question.

    The path contains no data relating to your pressure or pen angle. It is just a uniform path. I’m not sure why Illustrator is not starting or ending at that point. It may be because the rectangular bounding box on the brush would overlap itself there. See what happens if you click on the point with the knife tool.
    Here I used a Zapf Dingbats heart and converted to paths. On he left, the unmodified path. On the right, the path after clicking with the knife tool. This makes it an open path. You can still fill it if you want.

  • Absolute beginner's question: scaling video in embedded player

    Hi folks,
    I'm an absolute beginner in flash video embedding  - my company has purchased FMS 3.5 and I have to -simply- stream videos  from a server via following HTML-Code:
    <object  width="800" height="600" id="videoPlayer" name="videoPlayer"  type="application/x-shockwave-flash"  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
      <param name="movie" value="../swfs/videoPlayer.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#000000" />
      <param name="allowfullscreen" value="true" />
      <param name="flashvars"  value="&videoWidth='800'&videoHeight='600'&dsControl=manual&dsSensitivity=100&serverURL=r tmp://<here  the url>&DS_Status=true&streamType=vod&autoStart=true"  />
    <embed src="../swfs/videoPlayer.swf" width="800"  height="600" id="videoPlayer" quality="high" bgcolor="#000000"  name="videoPlayer" allowfullscreen="true"  pluginspage="http://www.adobe.com/go/getflashplayer"  flashvars="&videoWidth='800'&videoHeight='600'&dsControl=manual&dsSensitivity=100&serverU RL=rtmp://<here  the url>&DS_Status=true&streamType=vod&autoStart=true"  type="application/x-shockwave-flash">
      </embed>
    </object>
    My problem is simply the scaling of the videos. The files are  .flv-files and do stream very well from the source directory to my  browser. But when I change the object-width or object-height the video  is just cut instead of scaled.
    If I change the videoHeight or  videoWidth (in Flashvars) it has no effect. What am I doing wrong?
    ps  The player naturally scales the clips slightly larger than they really  are. So I already guess that there's a setup-file with settings, but I  have no idea where to look it up to configure the player.
    I  would appreciate your help!
    Thanks in advance!
    kuk

    IN CASE someone has this problem too, it seems the standard Adobe stream player integrated in the FMS-Installation (...) cannot resize the video. So the solution seems to be using another player. I'll use the free FlowPlayer which I also used for replaying .flv-Files, and which has a rtmp-plugin for streaming. Good luck folks...
    kuk

  • Absolute Beginner needs help

    I've had my 30 GB color video iPod for a few hours, and feel totally lost.
    I was able to connect it to my iMac, and the computer used iTunes to synch everything.
    How do you turn it on or off? How do you stop it from playing music?
    How do you set it up, or use the wheel to select stuff?
    This is all very basic stuff, and I couldn't find the info in the help files or in this discussion forum.
    Am I just plain dense?

    To stop the iPod from automatically syncing with iTunes when you connect the iPod to the computer you will need to change some preferences.
    Connect the iPod to the computer and then stop the iPod from syncing. While the iPod is still in iTunes i.e is still in the left column (sometimes it ejects the iPod when you stop it from syncing don't ask me why : /)
    I will assume that you have the latest iTunes (if not you will eventually need to download it anyway) so all you will have to do is click on the iPod in the left column and click on the "Manually manage music and videos" box. Now you will have to drag songs/videos/playlists to the iPod.
    To turn off your iPod simply hold the play button until it sleeps. Then you can put it on hold so it wont turn on accidently.
    To select stuff... as in selecting a specific song? then navigate to the prefered song listing (songs or playlists artists etc) using the center button (sorry if this sounds obvious but you did say absolute beginner :P)
    To stop a song selection from playing just push previous until you have gone past the first song. there may be easier ways but unless your playing 4000 songs its not very time-consuming
    Hope this helps you out a bit look forward to some feedback and quires
    This is probably covered in the links provided by b noir but this is just to focus on the specifics of your questions.
    MP 2GHz 1GB RAM 2X 160HD X1900XT 24" LCD   Mac OS X (10.4.8)   PM G4 (Digital Audio) 1 GB Ram, Firewire/USB PCI card, Extra 2x 60GB HD

  • Beginner to Java - running programs

    I am a beginner with Java. I just installed the Bouncy Castle provider and would like to test some sample codes to see if everything is correctly installed. I downloaded a zip file that contains all of the example code. My question is: Can I run this code straight from a folder on the desktop or does it have to be placed in a certain place in order for it to compile? I thought I all I need is the provider to start using the library. Is this correct or do I need some extra files?
    Thanks in advance.

    notwist wrote:
    I downloaded a zip file Is it a .zip file or a .jar file. If it is a .jar then you can place it anywhere you like. Add a shortcut on your desktop and double click. If it is a .zip then what type of files does it contain, .java or .class? If they are .java files then you will need to compile them before you can run the program.

  • A Beginner with JAVA.

    Hi all you pros out there,
    I am a total beginner at this so please bare with me. I looked at Sun Java Studio Creator and was very impressed. I liked the layout and the intro or demo played the right sort of music etc. Everything about the demo just got to me.
    I am in the process of laying out a lot of money to test a product for a while but I have been hesitant and I thought that if I found the right software to build my own webpage or site I could save a few bucks for an initial trial. I found you guys.
    I learnt how to program in Basic when the TRS80 by AppleShack started invading the homes in the 80's. I know this has been a long time but I need some advise. This explains my presence here on this forum. I am very excited - a new community.
    I tried downloading the program but because I ran out of my Broadband requirements here in New Zealand - trying to download 245 MB was going to take 8 - 9 hours - and it gave up after a while. I will download the program after the 23rd of May when my 1 Gb allowance kicks in.
    Until then - can someone please tell me whether this is a task too daunting for a beginner like me or should I start with something else? I want to build my own website and have the processes in place and information and I have a flowchart of the whole project in object oriented form. I hope I make sense here. I am an accountant by trade but I have been wanting to start this personal project of mine for a long time - so this is it - no turning back.
    Please, I will be most happy with any advise and I thank you all for any input whatsoever - I am very grateful.
    Cheers,
    initiumintelligentiae

    Hello.
    I've been using JSC for a few months now, and while it does have its (very) annoying quirks, I think that it's pretty easy to use and works well. What sort of website are you looking at building? More importantly, what data will be in it? If you have a database backend to your site, that will increase the complexity of the development somewhat, though it's still a lot simpler than working from scratch without JSC or similar tools. If you're looking to build a relatively simple site (<100 pages, limited or no DB, no login required, etc.), I would say that you will have no problem. If it's to be more complicated, I would encourage you to go for it anyway, and make liberal use of the forums and tutorials provided by Sun.
    Good luck, and let us know how things are going!
    -daniel

  • Beginner To Java

    Hello,
    I have made a thread on here once before, but I am still a little stuck.
    I am new to Java, in other words - I know just about nothing regarding it. A friend of mine, who is into Java and game design himself, told me to try again here in the forums.
    For starters, I am not sure how Java Developing works. I am wanting to try my hand at creating a Java 3D Game. I was told the last time I made a thread here that I need a Compiler and a Editor. With that being said, I looked up a bit more threw the websites he gave me, yet I am still lost on what I need exactly.
    Like I said, I am really new at this. I am sorry to be a bother, but I don't see anywhere else that has a running forum.
    What I am really wanting to know is this:
    1) What is a Compiler and what does it do?
    a) Do I just need one program for a Compiler, or are there a few programs needed within it? I am asking this because I have been told both ways. That a Compiler is a single program and also it's a few programs to make up what I need.
    b) If it's one program only, could you please name a few good program names?
    c) If it's more than one program needed to make up a Compiler, could you please tell me what it is exactly I am going to need? Perhaps listing some recommended programs.
    2) Will I need more than one program to design each area in my game? Such as the people, objects and landscapes? Or is there one program as a whole that will accommodate my needs? If so, name a few please.
    3) I can't seem to find any true websites for beginners. I have found some decent websites and was given a few from someone on here, but those are still a bit too advanced for my knowledge of Java Development. A link or two would be great if anyone knows of any true beginner websites.
    I basically need to know all the programs needed to create a 3D Java game. Just telling me what I need might not help much. A list of all the programs I need would be very helpful.
    Once again, I am sorry about the questions. I am really interested in creating a 3D Java based game, but I need to learn the basics still.
    Thank you very much in advance.

    It's always worth a try. Why do you think I asked
    for websites? How else am I going to learn without
    knowing the basics? Plus, I never said I am going to
    start working on the 3D game right when I get the
    needed programs. I am simply asking for the basics
    (Programs and Websites). I see nothing wrong with
    that.
    So if you could answer my questions it would be
    great.
    Thank you.
    Message was edited by:
    CravepainYou're not getting the point. Med students aren't dropped into an operating room and told to watch, play and learn. There is an extensive education that comes before that point. There are things which you need to know and understand long before you try developing a 3D game. There is no point in doing research on it now until you're capable of understanding just what is going on. You won't be capable of understanding that until you have some very solid fundamental skills and a good working knowledge of the language. You've got a long way to go. Don't distract yourself with other things until you have these fundamental skills.

  • Beginner's java problem

    hi
    i'm a non programmer and am learning java as a first programming language. i've got a bit of a problem though in getting started!
    when i create the "helloworld" application, I can't create the .class from the .java file. The message i get is that "javac isn't recognised as an internal or external command, etc"
    I'm not entirely clear whether this is to do with modifying the path. I've checked through the control panel - system and there is a path set for c:\java\bin (I installed the programme in a new directory - c:\java
    can anybody suggest when I need to do here? in VERY basic tech language!!!! would be much appreciated...
    Many thanks
    Karen

    there are 12 files in the bin. Search your c: drive for the javac.exe file. If you have it, set the path to the containing folder. If you don't find it, you'll need to download the JDK.
    Installation Notes - JDK 5.0 Microsoft Windows (32-bit)

  • Absolute beginner trying to create folders in Email

    I am a beginner and have also been dabbling with Smart Mailboxes as my objective is to 'order' primarily my work Emails into 'manageable' folders (eg. all mails relating to a particular topic or Event I am managing). Using "rules" to filter is simply not always feasible I have found out.
    Drag and Drop also does not seem to work ?? - is that right ??
    I have a googlemail account and a work email through godaddy.com --> Am I fundamentally going about this completely wrongly ?? How should I be doing this -- I am NOT technical at all, so plain English thoughts only --- THANKS !!

    Thanks and I understand - now for the stupid question:
    How do I set up 'plain' mailbox folders (eg. JOB 1, JOB 2, Project 1 etc etc.) within the existing accounts (such as googlemail)? - or is that out of the scope of such an Apple based discussion forum (which I am also new to!)?
    Thank you ..

  • How to  back up Final Cut project with external hard drive. Absolute beginner, so simple steps appreciated.

    Hello - How do I back up a Final Cut pro project onto an external hard drive?  It's a work in progress, not a completed project. I'm a total beginner and a step by step would really helpThanks

    BenB wrote:
    The auto-backup is the database only, not the media.
    To back up the whole Library totally, first make sure to Consolidate it, then simply drag-and-drop it on to the backup drive, that simple.
    The KB article referenced by Karsten suggests one additional step: make sure your copy of the library is not at the root level of the drive to which you are copying it. I have not clue why this might be important.
    Herewith:
    Back up your Project Library and events using the Finder
    To create a single backup copy of your Project Library and events, you can copy the Final Cut Projects folder and Final Cut Events folder to an external storage device.
    If you are backing up incrementally, create a folder structure that helps you easily navigate through your backup folders. You could label the folders with the date you made the backup copy, for example.
    Important:    To avoid issues, it’s essential that you place the backup files in a folder (named “2012 Final Cut Pro Backups,” for example) that is not at the root level of your external storage device.  
    In the Finder, locate and select your Final Cut Projects folder and Final Cut Events folder.Your Movies folder is the default location for all project and event files:/Users/username/Movies/ Important:    If you moved a project or event after you created it, it will not be in the default location.
    Drag the Final Cut Projects and Final Cut Events folders to the external storage device.
    The folders are copied to your external storage device.

  • Beginner XCode/Java Question - printf problem

    Hello,
    I have just started playing around with XCode and Java. I entered the statement:
    System.out.printf("%s\n%s\n", "Welcome to", "Java Programming!");
    into the default working java project (File -> New Project -> Java Tool) and Im getting the error "cannot find symbol" after I compiled it. I do not believe this is a syntax error since it was copied straight from a textbook. So, my questions are:
    1. What "symbol" is Xcode refering to?
    2. Does Xcode coem with the latest version of Java?
    3. How can I check the Java version?
    4. Is there a library that needs to be imported to get it working?
    Thanks in advance!

    Hi Arcus
    I think you might have to change some of the Xcode settings to force it to use Java 1.5. Try this:
    - From the menu, select: Project > Edit Active Target 'Your Program Name'
    - From the popup window, select Settings > Simple View > Java Compiler Settings.
    - Set Target VM Version and Source Version to 1.5
    - Dismiss the window by clicking on the red dot at the top left corner.
    Best wishes
    Bob

Maybe you are looking for

  • How to restore standard library object

    Dear All, We have a standard library object 1VK(Absorption costing) deleted from one of our client in Development system.  Please suggest how do we restore this standard library back once again into that client. Thanks, Raj

  • More ports

    Is it possible to configure an Apache server to run on more than one port with virtual hosts option? <IfDefine misa> Port 2222 Listen ddd.ddd.ddd.ddd:2222 DocumentRoot /usr/iAS/docs/misa ErrorLog /usr/iAS/docs/misa/log/error_log TransferLog /usr/iAS/

  • Copy Session function in 4.6C (To view another users session).

    Hi All, I recall in version 4.0 of R3 an option called copy session which allowed you to view another users session.  This option seems to have been taken away in newer version. Does anyone know of another way of interactively looking at another user

  • 求助PCI-6281

    利用新装的PCI-6281采集卡/CB-68LP.配置一切顺利.可是采集数据的时候,无法进行,显示错误为 VI "DAQmx Create Channel.vi" was stopped at node 0xA10 of subvi "DAQmx Create AI Channel(sub).vi" 输出模拟信号很正常.请问是怎么回事啊,谢谢

  • Error: Index Build Failed - Insufficient Disk Space

    I am unable to create a full-text index for a set of PDF files (Full Text Index with Catalog function).  The initial build worked a few months ago, but all attempts at a rebuild are met with the following: Error: Index Build Failed - Insufficient Dis