Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1221096

fp.bugs<1746>compiling examples of native C routines

    XMLWordPrintable

Details

    • sparc
    • solaris_2.4

    Description

      ###@###.###

      Description:
      I want to compile the example of native routines written in
      C langage. I got the following problem :
      1) compiling by java the demo/InputFile.java

      Error Message:
      $ cd /hotjava/doc/native
      $ pwd
      /global/OUTILS/Hotjava/alpha0.3/hotjava/doc/native/demo
      $ ls
      File.class InputFile.class OutputFile.java
      File.java InputFile.java
      $ make CC=gcc
      javac demo/File.java
      javac demo/InputFile.java
      demo/InputFile.java:42: Class or interface definition expected.
      package demo;
      ^
      1 error
      *** Error code 1
      make: Fatal error: Command failed for target `InputFile.class'

      Attachments

        Activity

          People

            fyellinsunw Frank Yellin (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: