Next: 3.1 Compiling Java Code Up: Manual Previous: 2.2 Which Components are

# 3. Programming GNUstep in Java

In this chapter, we will learn how to write GNUstep programs in Java. This is the simplest task. We assume that you have installed all the components of JIGS on your system, by following the installation instructions coming with JIGS.

Subsections

- 3.1 Compiling Java Code Using GNUstep Make
  - 3.1.1 Compiling a Single Class
  - 3.1.2 Compiling Classes Belonging to a Package
  - 3.1.3 Installing Java classes where you like
  - 3.1.4 Creating Java Tools
  - 3.1.5 Documenting Classes Using Javadoc
- 3.2 Accessing the GNUstep Base Library From Java
  - 3.2.1 A First Example
  - 3.2.2 The General Idea
- 3.3 How the Wrapping Works
  - 3.3.1 Classes
  - 3.3.2 Methods
  - 3.3.3 Constructors
  - 3.3.4 Primitive Types
  - 3.3.5 Strings
  - 3.3.6 Numbers
    - 3.3.6.1 Details of Number Mapping
  - 3.3.7 Exceptions
  - 3.3.8 Base Library Structs
- 3.4 Advanced Topics
  - 3.4.1 Weak References to Java Objects
  - 3.4.2 Selectors
  - 3.4.3 Subclassing GNUstep Objects in Java
  - 3.4.4 Using Java Threads
    - 3.4.4.1 The Fine Prints About Threads