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.


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

View RSS Feed

All Blog Entries

  1. An introduction to the Java Native Interface

    The Java Native Interface is a way for users to run native code (i.e. code not JIT-ed/interpreted by a JVM). These are typically written in C/C++ (I'm not positive if this is a requirement, but they're definitely the most common languages used with JNI).

    In this post, I will give a brief introduction to using JNI, when to use JNI, and some mistakes that could happen when using JNI. For the purposes of this simple tip, a focus is given on Java invoking native code, however the JNI ...

    Updated April 6th, 2011 at 15:47 by helloworld922

  2. Java FAQ

    Here are some foolishly answered questions about Java and Java programming:

    1. I'm having problems compiling my Java code! I've tried the command-line compiler and the Eclipse JDT compiler, but neither of these gives me the correct results.

    Quote Originally Posted by Javac
    error: Class names, 'helloworld.jpg', are only accepted if annotation processing is explicitly requested.
    The javac compiler does not require you to put the extension in. So the correct command should ...

    Updated April 1st, 2011 at 21:21 by helloworld922

    Tags: faq, java
  3. How and why an SSCCE?

    The term SSCCE gets thrown around a lot in online programming forums. Its a simple acronym that stands for Short, Self Contained, Correct Example. But what is so important about an SSCCE? For starters, creating an SSCCE provides a very simple example that clearly demonstrates a given problem, helping one receive help and advice much quicker. But it also goes far beyond just that. Often just the process alone of writing an SSCCE will unveil the problem at hand. But even more important, the process ...
  4. Debugging with System.out.println

    System.out.prinln is quite possibly the most useful debugging tool there is - especially for the beginner programmer with no knowledge of other tools such as debuggers, assertions, and/or loggers. System.out.println prints to the command line the values passed to the method as an argument (if an object is passed, the String returned by Object.toString() is printed). For debugging, this tool allows the programmer to evaluate a variable value at a certain position in the code. But that's only the ...

    Updated March 11th, 2011 at 20:25 by copeg

  5. New Media section added to the site

    Hey everyone,

    I have just added a new 'Media' page to the site. You can access it via the Navbar or here - http://www.javaprogrammingforums.com/media.php

    The Media section contains Java tutorial videos from around the internet. Members have the option to submit their own videos, post comments, rate and share etc.

    If anyone has any issues or questions, please PM me or comment on this post.
Page 13 of 14 FirstFirst ... 311121314 LastLast