This blog is subject the DISCLAIMER below.
Showing posts with label NetBeans. Show all posts
Showing posts with label NetBeans. Show all posts

Friday, November 23, 2007

The solution of the fedora 8 shock (swing doesn't work)

In this post we gonna show why does swing components? most of us tried netbeans ,but it awfully doesn't work with it. The reason is that , netbeans and swings are using the libx11 and there some thread safety operation the new version of this lib is doing that's why if you downgraded to the last version of libx11 you will find swings works will but of course it's not the ideal solution but of course there is another solution. The solution is to change the path of the libx11 in the libmawt.so which have shared native functions that calls libx11. we change the place of the used lib from the XINERAMA to the FAKEEXTN
using the sed command like this :

sed -i 's/XINERAMA/FAKEEXTN/g' libmawt.so

but where is libmawt.so this is different from jvm to jvm especially after the icedtea(icedtea is an implementation of the jvm by redhat ) so if you are using the jdk's jvm you will find the file in

/usr/jdk1.6.0_03/jre/lib/i386/xawt/libmawt.so
and after that you can run your net beans setup of any program that runs with java

.. more.

Friday, January 19, 2007

NetBeans 6.0 Milestone 6 available

Milestone 6 of NetBeans 6.0 is now available for download from the development builds section.
Choose 6.0 Q-Build to get it.

What's new and noteworthy ?

- Most Java EE features re-added to the build
- UI Gestures Collector
- Tomcat 6.0.x support
- Ant 1.7.0
- Profiler: Memory Profiling Improvements - mainly around heap dumps
- Profiler: 1.4.2 Profiling Support Removed - it is better to use standard JDK than JFluid VM
- New Network Proxy Settings UI what can be shared all over IDE
- Unit Test Libraries Node
- Maven project support

.. more.