The Elektor Forum will close. See also this link. From Friday March 1st it is no longer possible to log in to the forum. However, the content of the forum will remain visible until the end of March. As of April 1st the forum will definitely go off the air.

JAVA - ECG using a Sound Card

The topic on number crunching

Postby jjgerber » Wed Dec 29, 2010 12:00 am

I have built the "ECG using a Sound Card" from the October 2008 edition. When I tried to run the software to read the data I get a message that the JAVA environment does not work correctly. The message I get says that:

Exception in thread "main" java.lang.NoClassDefFoundError: C:\Disks\ECG on sound
card\EKG-MonitorV1/0/jar
Caused by: java.lang.ClassNotFoundException: C:\Disks\ECG on soundcard\EKG-Monit
orV1.0.jar
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: C:\Disks\ECG on soundcard\EKG-MonitorV1.0.jar. P
rogram will exit.


I have tried all the environment variable remedies found on the internet but I have no luck with and I do not have any knowledge of Java or how to "dig into it" - my interest was mostly for the ECG card, not the development of the software. Can anyone help me to get the Java working and the software for the ECG unit functioning. I am running Windows 7 32-bit and using Java(TM) Platform, Standard Edition Runtime Environment Version 6.

Thank you
Attachments
CMD-Window-with-Java-Error.JPG
jjgerber
 
Posts: 1
Joined: Thu Jan 02, 2014 10:42 am

Postby alphja » Sat Feb 26, 2011 12:00 am

Hi, the path to your jar-file has spaces in it so you have to use double-quotes for the jar-file, something like:
java -cp %CLASSPATH%;"C:\Disks\ECG on soundcard\EKG-MonitorV1.0.jar" ...
should fix it.
alphja
 
Posts: 1
Joined: Thu Jan 02, 2014 10:42 am

Re: JAVA - ECG using a Sound Card

Postby fee3 » Tue Feb 03, 2015 2:46 am

i tried to built this project too, but i can't found the software
if you have that software, can you share to me?
thanks...
fee3
 
Posts: 2
Joined: Mon Dec 29, 2014 5:32 am

Re: JAVA - ECG using a Sound Card

Postby Elektor Editor » Tue Feb 03, 2015 5:36 pm

The project was published in October 2006, not 2008.

On the project software: go to www.elektor-magazine.com. Search for: ECG using a Sound Card
Follow the first link. The project software is available on the project page.

Jan
Elektor Editor
 
Posts: 467
Joined: Thu Jan 02, 2014 10:36 am

Re: JAVA - ECG using a Sound Card

Postby fee3 » Mon May 04, 2015 3:19 pm

i have done built an ECG like the project on magazine and i can run the software too but i don't know what's wrong with my project, it was still didn't worked
can you help me?
fee3
 
Posts: 2
Joined: Mon Dec 29, 2014 5:32 am


Return to Microcontrollers & Embedded

Who is online

Users browsing this forum: No registered users and 2 guests

cron