yccheok / jstock

JStock is a free stock market software for 28 countries.
https://jstock.org
664 stars 348 forks source link

can't locate jstock.jar #69

Closed mnhan32 closed 8 years ago

mnhan32 commented 8 years ago

Hey, I follow this instruction It seems that I can't locate any jstock.jar in folders.

./jstock.sh 
Error: Unable to access jarfile jstock.jar

I am running archlinux with oracle java

archlinux-java status
Available Java environments:
  java-8-jdk (default)
ghost commented 8 years ago

(I am talking about opening jstock using shortcut icon) I dont know about archlinux but I am using ubuntu and I too faced the same problem. In ubuntu its because of how jstock creates .desktop file. It automatically assumes that we would install jstock in the root of home directory. I solved this problem by editing the filename.desktop file created by jstock.

This is how I solved my problem in my system

first go to this location

/home/.local/share/applications

then find the jstock desktop file similar to this org-yccheok-jstock-gui-jstock.desktop . drag and drop in an editor and then edit the path to the location where ever you installed your jstock path=/home/usr/fldr/jstock/

this worked for me

yccheok commented 8 years ago

Can you kindly run

java -jar jstock.jar

to see what do you get?