Hello everybody,

sorry for being inactive for some days, I was
busy with my teaching fellowship in Turin (it
seems crazy, but, yes, I work for two University
at the same time. That's Italy.)

I followed the instructions given by Bernard
Chardonneau amd checked in particular the following wiki page:

http://wiki.apertium.org/wiki/Lttoolbox-java

I think I have a path problem with the java-runtime in my Lubuntu
machine. Caveat: I'm not a Java user so perhaps my question
sounds a bit naive (in case, please be patient...)

Having LibreOffice installed, I tried the direct way:
download, compile, install. I choose to follow the Maven2 way,
and I receive this compilation error:


[INFO] Compilation failure
Unable to locate the Javac Compiler in:
  /usr/lib/jvm/java-7-openjdk-i386/jre/../lib/tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

So, I tried to install the last release of openjdk looking the
instruction at:

http://openjdk.java.net/install/

then I run

# apt-get install openjdk-7-jre

but it seems to me that it is already configured:

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
openjdk-7-jre è già alla versione più recente.
I seguenti pacchetti sono stati installati automaticamente e non sono
più richiesti:
  libreadline5 linux-headers-3.5.0-17 linux-headers-3.5.0-17-generic
Usare "apt-get autoremove" per rimuoverli.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.

Should I set the JAVA_HOME variable? How to do it?

Many thanks in advance,

Federico

-- 
Federico Gobbo, PhD
Research Fellow in Computer Science
Autonomous Agents & A.I. @AQ Research Group
DISIM - Dip. di Ing. e Sc. dell'Informazione e Mat.
via Vetoio - Coppito Zero - Room 209
IT-67100 L'Aquila (Italia)
tel ++39 0862-433172
web http://federicogobbo.name

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to