Tiny Core Linux
General TC => General TC Talk => Topic started by: cute curtis on April 07, 2020, 04:10:14 AM
-
Hi I downloaded a lightweight java IDE called Dr. Java which is in jar file. I successfully compiled a test program but failed to run it. Here's the message:
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.
Console tab:
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Thread.java:745)
P.S. I tried putting the file into the root folder and also run via sudo command
-
Hello cute curtis
There's no much information what extension with java you installed, what version of TC you use and what command you typed. I'm not an expert in java but when I want to run something I use:
tce-load -iw openjdk-8-jre.tcz
/usr/local/openjdk-8/jre/bin/java -jar *.jar
-
Hi, I;m currently on TC11 and I've already installed On-boot openjdk-8-jre.tcz. You could download the jar file here to test run the IDE
http://www.drjava.org/ (http://www.drjava.org/)
then execute the command
java -jar drjava-stable-20120818-r5686.jar
P.S. Dr Java is running but running my compiled program under this IDE produces error
JVM failed to start. Make sure a firewall is not blocking
inter-process communication. See the console tab for details.
java.io.IOException: Unable to run process; class path may need to be adjusted
at edu.rice.cs.plt.concurrent.ProcessTaskController$1.run(ProcessTaskController.java:157)
at java.lang.Thread.run(Thread.java:745)
-
tce-load -iw sun-jre7.tcz
/usr/local/java-sun/jre/bin/java -jar *.jar
Using openjdk-8-jre.tcz I get the error, with un-jre7.tcz there is no error.
I paste the error code to the search engine and there was sugestion to use older verion of Java.
https://sourceforge.net/p/drjava/support-requests/245/
-
Working great, thanks a lot! P.S. also works with openjdk-7-jre.tcz. I wonder how could I make this an extension as it is a single file.