Next: , Up: How to compile the java package in Octave?


37.3.5.1 Uninstall the currently installed package java

Check whether the java package is already installed by issuing the pkg list command:

     octave> pkg list
     Package Name  | Version | Installation directory
     --------------+---------+-----------------------
             java *|   1.2.8 | /home/octavio/octave/java-1.2.8
     octave>

If the java package appears in the list you must uninstall it first by issuing the command

     octave> pkg uninstall java
     octave> pkg list

Now the java package should not be listed anymore. If you have used the java package during the current session of Octave, you have to exit and restart Octave before you can uninstall the package. This is because the system keeps certain libraries in memory after they have been loaded once.