Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

452
Views
hacer: /bin/javac: Comando no encontrado

Estoy tratando de seguir la configuración de esta aplicación: https://github.com/michaelmior/RUBBoS

Y cuando llegué a esta parte:

 To build the client emulator, change into the Client directory and run make. This will create rubbos_client.jar which will be used to run the benchmark.

Cuando ejecuto make , recibo este error:

 root@webserver:/home/user/RUBBoS/Client# make /bin/javac -deprecation -classpath .:/lib/j2ee.jar:/jre/lib/rt.jar edu/rice/rubbos/client/URLGenerator.java make: /bin/javac: Command not found make: *** [edu/rice/rubbos/client/URLGenerator.class] Error 127

Nuevo error:

 /opt/jdk1.7.0_80/bin/javac -deprecation -classpath .:/lib/j2ee.jar:/opt/jdk1.7.0_80/jre/lib/rt.jar edu/rice/rubbos/client/URLGenerator.java make: /opt/jdk1.7.0_80/bin/javac: Command not found make: *** [edu/rice/rubbos/client/URLGenerator.class] Error 127
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Debe configurar su variable de entorno JAVA_HOME en su directorio de instalación de JDK.

El Makefile en el directorio del Cliente incluye ../config.mk que establece la variable JAVAC como

 JAVAC = $(JAVA_HOME)/bin/javac

Si JAVA_HOME está vacío, obtienes /bin/javac que es lo que observas.

Para bash como conchas, use algo como

 $ export JAVA_HOME=/opt/jdk1.7.0_80 $ make

Modifique la ruta ( /opt/jdk1.7.0_80 ) según dónde haya instalado el JDK.

Tenga en cuenta que también hay una variable de entorno J2EE_HOME que también debe configurar en su servidor de aplicaciones de inicio; de make contrario, obtendrá una ruta de clase no válida (consulte /lib/j2ee.jar en el resultado de la pregunta)

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!