bugGNU Octave - Bugs: bug #57548, build failure on javac

 
 

bug #57548: build failure on javac

Submitted by:  A.R. Burgers <arb>
Submitted on:  Tue 07 Jan 2020 09:11:53 AM UTC  
 
Category:  Configuration and Build System Severity:  2 - Minor
Priority:  3 - Low Item Group:  Build Failure
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 07 Jan 2020 04:41:15 PM UTC, comment #3: 

Thanks for the feedback.  I think it is of little value to support older versions of Java.  Thus closing the report.

Kai Torben Ohlhus <siko1056>
Project Member
Tue 07 Jan 2020 04:24:36 PM UTC, comment #2: 

updating java to 1.8 is quite simple and painless: download from java.com, unpack the (only ~80Mb) tarball, set JAVA_HOME. This fixes the build issue for me.

This is on RHEL 6.10 server.

A.R. Burgers <arb>
Tue 07 Jan 2020 12:58:48 PM UTC, comment #1: 

Thank you for the bug report.  I do not think this is documentation error, thus adapting the title.  "ClassHelper.class" is to my knowledge some helper class for the Java-Interface.  The change might be related to

https://hg.savannah.gnu.org/hgweb/octave/rev/5701a3716577

What system do you use?  Does it offer an opportunity for Java 8 or newer to be installed?  Java 7 is rather old https://en.wikipedia.org/wiki/Java_version_history

Kai Torben Ohlhus <siko1056>
Project Member
Tue 07 Jan 2020 09:11:53 AM UTC, original submission:  

I am recently getting these errors:

  JAVAC    scripts/java/org/octave/ClassHelper.class
javac: invalid source release: 8
Usage: javac <options> <source files>
use -help for a list of possible options
make[2]: *** [scripts/java/org/octave/ClassHelper.class] Error 2

javac -version reports 1.7.0_241 on this system.

A.R. Burgers <arb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by arb (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-07 siko1056 StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2020-01-07 siko1056 Severity3 - Normal => 2 - Minor
        Priority5 - Normal => 3 - Low
        StatusNone => Need Info
    2020-01-07 siko1056 Summarydocumentation build failure on javac => build failure on javac

    Back to the top


    Powered by Savane 3.5