franciskus
March 2nd, 2010, 10:32 AM
When I try to run an application using Netbeans I receive a message that an specific package was not found.
I suppose it's because java is not finding the .jar in the classpath:
private com.toedter.calendar.JDateChooser dataInicioFaturamento;
/home/francisco/NetBeansProjects/SikLami/src/com/sikgraf/ui/reports/ListagemFaturamentoUI.java:80: package com.toedter.calendar does not exist
This package is in the file jcalendar-1.3.2.jar, which is in /home/francisco/Sistemas/lib10anos folder.
And I have my environment file as following:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
JAVA_HOME="/usr/lib/jvm/java-6-sun/jre"
CLASSPATH="/home/francisco/Sistemas/lib10anos:.:/home/francisco/Sistemas/lib10anos/jcalendar-1.3.2.jar"
Shouldn't be everything working correctly???
Appreciate any help.
F.
I suppose it's because java is not finding the .jar in the classpath:
private com.toedter.calendar.JDateChooser dataInicioFaturamento;
/home/francisco/NetBeansProjects/SikLami/src/com/sikgraf/ui/reports/ListagemFaturamentoUI.java:80: package com.toedter.calendar does not exist
This package is in the file jcalendar-1.3.2.jar, which is in /home/francisco/Sistemas/lib10anos folder.
And I have my environment file as following:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
JAVA_HOME="/usr/lib/jvm/java-6-sun/jre"
CLASSPATH="/home/francisco/Sistemas/lib10anos:.:/home/francisco/Sistemas/lib10anos/jcalendar-1.3.2.jar"
Shouldn't be everything working correctly???
Appreciate any help.
F.