octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38060] Java package installation misinformati


From: anonymous
Subject: [Octave-bug-tracker] [bug #38060] Java package installation misinformation and functionality.
Date: Fri, 11 Jan 2013 06:39:18 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.97 Safari/537.11

URL:
  <http://savannah.gnu.org/bugs/?38060>

                 Summary: Java package installation misinformation and
functionality.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 11 Jan 2013 06:39:17 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Installation
                  Status: None
             Assigned to: None
         Originator Name: Heimo Herttua
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

I have Windows XP sp3 32 bit and Octave 3.6.2 gcc4.6.2.

Java package installation gives misleading information and does not seem to
function, as described below.

I downloaded package java-1.2.9.tar.gz, and tried to install it with command:
pkg install java-1.2.9.tar.gz

I got an error message:
Error while trying to install Java package:
environment variable 'JAVA_HOME' has not been set.

The error message suggested to set JAVA_HOME as:
 (on Windows:)
   <JAVA_HOME>/jre/lib/<arch>/ contains a file jvm.cfg
 (<arch> depends on your system hardware, can be i386, x86_64, alpha, arm,
...)

So I tried to set it by command:
setenv("JAVA_HOME", "C:/Program Files/Java/jdk1.6.0_03/jre/lib/i386")

This did not help. Then on the web (http://wiki.octave.org/Java_package) I
found different suggestion to set JAVA_HOME. So I tried following:
setenv("JAVA_HOME", "C:/Program Files/Java/jdk1.6.0_03")

After that the installation did not cause any errors. So the installation
procedure gives misleading information on how to set JAVA_HOME.


Other thing, after seemingly successful installation java does not seem to
work. I tried command:
octave:9>  s = javaObject ("java.lang.String", "Hello OctaveString")
and get warning:
the `javaObject' function is not yet implemented in Octave

Same happens with command:
v = javaObject ("java.util.Vector")

So it seems that java package installation did not work at all.

I am very confused.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38060>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]