30 day money-back guarantee
Read more...
9 EUR lifetime license
15 EUR lifetime license
(nofollow link from sponsors page)
| 23.1% | | United States | | 15.5% | | India | | 7.3% | | Russian Federation | | 7.1% | | Colombia | | 6.1% | | Germany | | 5.2% | | United Kingdom | | 4.4% | | Poland | | 3.5% | | Netherlands | | 3% | | France | | 2.9% | | Canada |
| Today: | 439 | | Yesterday: | 1586 | | This Week: | 2025 | | Last Week: | 10059 | | This Month: | 8724 | | Total: | 32038 | |
Users| Most active users today from total of 20: | | mlewis, waseem, yosua.winata, plaginha, davoided, anewname1, matto, mrits, Contestano, maryswave, NightOwl, artisan, dwlamb, djunykasim, dlaurie, rottenberg, acrucesalus, docklandassist, ravsyn, blueoceancruiser | |
JoomlaWatch is popular joomla visitor tracking and live stats component. It provides several features such as spam blocking,
goals tracking, charts, nightly email reports, latest visit map, interactive HTML5 traffic flow graph and many other useful functionalities,
which will help you to optimize your site.
Freelance
Projects
Forum
Resources
News
|
A friend of mine wanted to start to learn java, and I wanted to help him, so we created a simple Hello World example.
public class Hello {
public static void main(String argv[]) {
System.out.println("Hello world !");
}
}
then, when you compile it:
> javac Hello.java
and want to execute it:
> java Hello
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
We set the CLASSPATH and JAVA_HOME enviroment variable correctly, and the problem was still the same..
When we copied the Hello.class into a lib directory of JAVA_HOME, it worked, but not from the current directory !
We tried different versions of java.. and do you know where this stupid problem is?
in the CLASSPATH there should be: CLASSPATH=.;c:\programme\jboss\lib;c:\programme\ j2sdk1.4.2_08\lib;c:\programme\j2sdk1.4.2_08\jre\lib; ...
yes.. a dot .. it means, that it will search for classes bytecode in the current directory !
you can also tell java to search the current directory with the -classpath parameter
> java -classpath . Hello Problems like this can really discourage java newbies, and that moment was very embarassing :)
Problem: Basically, the Exception in thread "main" java.lang.NoClassDefFoundError:
means, that the class which you are trying to run was not found in the classpath.
Solution: you need to add the class or .jar file which contains this class into the java classpath. When you are running a java class from the command line, you need to add the dot (.)
java YourSingleClass -cp .
into the classpath which tells the JVM to search for classes in actual directory.
If you are running a class from a .jar file, you need to add this jar file into the classpath:
java org.somepackage.SomeClass -cp myJarWithSomeClass.jar
|
I bought an enclosure for IDE devices and I wanted my DVD-RW burner to work when I plug this USB enclosure to my laptop. In windows everything worked well, but not in linux.
After some time, I finally solved this problem. All you need to do, is to enable the EHCI, UHCI and MASS Storage in your Linux kernel configuration and recompile it.
After loading the new kernel, run the utility usbview and you should see your device there (under the EHCI tab)
I got into this state long time ago, but still did not know what to mount. Finally, I found it in /dev/sr0 (it's a symbolic link to /dev/scd0).
So, just type:
mount /dev/scd0 /mnt/usb
where /mnt/usb is the directory where the device will be mounted to.
In some cases, it might be also scd1, scd2 etc.. you can find the right device by executing:
cat /dev/s* (experimental, but should list the content of all scsi devices)
Now you can fully use your external IDE drive :)
Enjoy :)
|
Me and my colleagues from work started to take the Aikido classes :) It's a great fun, and relax from programming. Aikido is considered one of the more spiritual defensive martial arts, and it uses the attacker's energy. You don't have to be strong, but to have a good technique to manipulate the attacker's power.
If you would like to know more about Aikido, visit this website: http://en.wikipedia.org/wiki/Aikido
|
Dear God... "Connection refused..". This seems to be a stupid problem, but I hope by writing this, I can help some beginners which have the same problem.
This happens, when you are trying to access some page from Tomcat and that page is behind the company's proxy. I found one article which says that you have to add to catalina.properties in %CATALINA_HOME%/conf/catalina.properties values http.proxyHost=... http.proxyPort=, .. etc.
in fact, it did not work, because I am running Tomcat from Exadel Studio Pro..
The final solution is more than simple: in JRE configuration of Exadel, I specified these additional JVM paramters: -DproxyHost=my.company.host -DproxyPort=8080 -DproxyUser=matto -DproxyPassword=mypassword
Shame on me, it was so simple ;)
|
There is a great library for parsing RSS - RSSLib4j.
In my free time I'm working on an opensource JSF component, which you
can simply drag&drop into your pages and display every feed you
want.
|
|
|
<< Start < Prev 1 2 3 4 Next > End >>
|
|
Page 3 of 4 |
|