I have installed openproj_1.4-2.deb
on my ubuntu. and I'm getting the following err while openinig the same.
Your Java vendor is "Oracle Corporation". To run OpenProj, you need the Sun Java implementation.
The auto-detected Java Runtime used is..
I have tried to fix by editing $HOME/.openproj/run.conf
file by updating JAVA_EXE
variable. But it is not working.
How can I run openproj on my Linux?
Please help, Thanks in advance.
(sorry for unable to create a new tag, openproj
)
Open $HOME/.openproj/run.conf
and Change
JAVA_OPTS="-Xms128m -Xmx768m"
To
JAVA_OPTS="-Djava.vendor=Sun -Xms128m -Xmx768m"
then run it, It will work fine.
I'm able to fix this by adding -Djava.vendor="Sun Microsystems Inc."
for java command in run_openproj()
of /usr/bin/openproj
script.
here is the updated function after my change:
run_openproj() {
if [ "$LOG_LEVEL" ] && [ "x$LOG_LEVEL" = "xDEBUG" ]; then
"$JAVA_EXE" $JAVA_OPTS -Djava.vendor="Sun Microsystems Inc." -jar "$OPENPROJ_HOME/openproj.jar" $ARGS > "$LOG_FILE"
else
"$JAVA_EXE" $JAVA_OPTS -Djava.vendor="Sun Microsystems Inc." -jar "$OPENPROJ_HOME/openproj.jar" $ARGS > /dev/null 2>&1
fi
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With