Difference between revisions of "Netbeans"

From ArchWiki
Jump to: navigation, search
(OpenJDK vs Sun's JDK)
(Troubleshooting: Added case from forum, no start after first start)
Line 31: Line 31:
 
* Download GlassFish Server Open Source Edition manualy from official site, actual link is http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1-ml.zip
 
* Download GlassFish Server Open Source Edition manualy from official site, actual link is http://download.java.net/glassfish/3.0.1/release/glassfish-3.0.1-ml.zip
 
* Extract from zip to any location
 
* Extract from zip to any location
 +
 +
=== Netbeans doesn't start after its first start ===
 +
 +
If you receive a message like this when executing from terminal:
 +
# netbeans -h
 +
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsplashscreen.so: libgif.so.4: cannot open shared object file: No such file or directory
 +
 +
Netbeans will start using --nosplash option.
 +
 +
# netbeans --nosplash
 +
 +
[https://bbs.archlinux.org/viewtopic.php?id=118930 Arch forum thread]

Revision as of 15:07, 19 June 2011

Netbeans IDE is an integrated development environment (IDE) for developing with Java, JavaScript, PHP, Python, Ruby, Groovy, C, C++, Scala, Clojure, and other languages.

The NetBeans IDE is written in Java and runs everywhere where a JVM is installed, including Windows, Mac OS, Linux, and Solaris. A JDK is required for Java development functionality, but is not required for development in other programming languages.

(based on wikipedia)

Font antialiasing in Netbeans

Based on: http://ibnaziz.wordpress.com/2009/06/10/netbeans-anti-aliasing/

Problem :

For some time now, the newer version of netbeans, no longer displays the “Advanced Options” that allows for anti-aliased fonts. And frankly speaking, the fonts look terrible.

Solution :

Edit the file /usr/share/netbeans/etc/netbeans.conf and add the switchs ‘-J-Dswing.aatext=true -J-Dawt.useSystemAAFontSettings=on’ to ‘netbeans_default_options’.

Troubleshooting

OpenJDK vs Sun's JDK

Netbeans 7.0-1 will not ALWAYS work with OpenJDK. Some reported issues are:

  • Starting - In some cases, netbeans will not start.
  • Installation - The .sh script provided by netbeans will not launch wizard.

Glassfish server - Can`t download Glassfish server I/O Exception

If you are trying add new Glassfish server, you can`t download the server. Netbeans returns

I/O Exception: http://java.net/download/glassgish/3.0.1/release/glassfish-3.0.1-ml.zip

Solution is:

Netbeans doesn't start after its first start

If you receive a message like this when executing from terminal:

# netbeans -h
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/libsplashscreen.so: libgif.so.4: cannot open shared object file: No such file or directory

Netbeans will start using --nosplash option.

# netbeans --nosplash

Arch forum thread