User Tools

Site Tools


linuxinstall

Installing under Linux - V2

NOTE: This only applies to our old V2 application. The latest V3 application (which also talks to V1 and V2 ECUs) installs and runs natively under Linux already.

DSMLink is written in Java. Java is cross platform. So DSMLink should be as well. And it is, mostly. Here are the steps one user used to get DSMLink up and running under Linux. Please keep in mind that this is not something we at ECMTuning support. We're not going to be able to help much getting this up and going if you have problems. It's being provided here for reference and archival purposes. If the original author would step forward and claim this, I'll *gladly* include your name as key contributor. I don't want anyone thinking I did this writeup. I did not. I'm merely copying the text here for reference.

Details

Step 1: Install Blackdown's JDK libraries.

sudo apt-get install j2sdk1.4

Note: It seems that there is a open source free version of the JDK available. It also seems to be included with fedora 9, see: http://www.jboss.org/feeds/post/java_is_finally_free_and_open.

Step 2: Download JavaComm API (this allows java to communicate with your serial ports) *Note: This is a tarball I created of the necessary files. If you want to register at Sun.com and download the whole thing, go ahead.

wget http://www.dsmlink.com/images/forums/oses/linux/javacomm.tar.gz
tar -xvf javacomm.tar.gz

Step 3: Place comm files in appropriate directories

sudo mv javax.comm.properties /usr/lib/j2se/1.4/jre/lib
sudo mv comm.jar /usr/lib/j2se/1.4/jre/lib/ext
sudo mv libLinuxSerialParallel_g.so libLinuxSerialParallel.so /usr/lib/j2se/1.4/jre/lib/i386

Step 4: Download DSMLink application file

wget http://www.dsmlink.com/dsmlink.jar

Step 5: Create space for DSMLink

mv dsmlink.jar /opt/

Step 6: Create code for launcher

sudo gedit /usr/bin/dsmlink.sh

Add the following to it:

cd /opt java -jar dsmlink.jar

Step 7: Create a launcher.

sudo gedit /usr/share/applications/DSMLink.desktop

Then add this to the file:

[Desktop Entry]
Name=DSMLink
Comment=DSMLink Engine Management
Exec=dsmlink.sh
Icon=
Terminal=false
Type=Application
Categories=Application;Other;

Step 8: Refresh your panel:

sudo killall gnome-panel

Step 9: There is no Step 9

Happy tuning!

linuxinstall.txt · Last modified: 2009/07/09 11:31 by twdorris