Difference between revisions of "Help"

From BITPlan can4eve Wiki
Jump to navigation Jump to search
Line 45: Line 45:
  
 
See e.g. {{Link|target=VGate_ICar_2#Testing}}
 
See e.g. {{Link|target=VGate_ICar_2#Testing}}
 +
== NoClassDefFoundError: javafx/event/EventHandler ==
 +
<source lang='java'>
 +
java -jar can4eve.jar
 +
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/event/EventHandler
 +
        at java.lang.ClassLoader.defineClass1(Native Method)
 +
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
 +
...
 +
Caused by: java.lang.ClassNotFoundException: javafx.event.EventHandler
 +
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
 +
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 +
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
 +
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 +
</source>

Revision as of 15:44, 17 July 2017

Prerequisites

or if you'd like to build can4eve yourself:

Installation

  1. Download the software for your platform from Downloads

or build the software yourself

Starting

Run the software with java -jar can4eve.jar or can4eve (If you built the software yourself: cd can4eve/obdii/release before this command) The first screen should show one of the Panels shown below.

Configuring your OBD connection

Select the menu Settings/OBDII

  • Network connection: Select the deviceType Network, set the hostname and port
  • USB connection: Select the deviceType USB, select the serialDevice via the "..." button near the serialDevice, set the baudRate (only click direct if you are setting the baudrate via a different means e.g. stty)
  • Bluetooth connection: Not directly supported as of 2017-07 - you might want to e.g. use the OBDLink_LX#Forwarding the OBDII Adapter via TCP/IP or forward via can4eve options
  • Simulator connection: Select the deviceType simulator

Click "testConnection". The result should be e.g.: ConnectionOK2017-07-11.png

Now you should be able to use the Menu OBD/Start or OBD/Start withLog.

Panels

StartScreen2017-07-07.png

Clocks

Clocks.png

Odometer

Odometer.png

SOC

SOC.png

RPM

RPM.png

Troubleshooting

Connection refused

If you get the message "Connection faile", "ConnectException: Connection refused(Connection refused)". You might want to check the hostname and port settings. Also you can tryout the connection e.g. on a command line.

See e.g. VGate_ICar_2#Testing

NoClassDefFoundError: javafx/event/EventHandler

java -jar can4eve.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javafx/event/EventHandler
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
...
Caused by: java.lang.ClassNotFoundException: javafx.event.EventHandler
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)