Problem with netbeans

Problem with netbeans

Post by Stefan Schmi » Thu, 16 Jan 2003 06:27:34



Hi,

Quote:> Netbeans runs fine on 4-stable at work but not at home on 5.0RC, I get
> these errors when running runide.sh

> daemon# ./runide.sh=20
> expr: illegal option -- J
> usage: expr [-e] expression
> expr: illegal option -- J
> usage: expr [-e] expression
> expr: illegal option -- J
> usage: expr [-e] expression
> Exception in thread "main" java.lang.NoClassDefFoundError:=20

expr(1)'s behavior changed from between FreeBSD 4.x and 5.0.
check the manpage of expr(1) for details.

quick solution (without changing runide.sh): set the environment
variable EXPR_COMPAT prior to running runide.sh.

btw, a while back I've submitted a "netbeans-ide" port (PR/44275).
I'll add an fix for this expr(1) problem. Is anyone interested in
committing this port to CVS?

stefan

--


with "unsubscribe freebsd-java" in the body of the message

 
 
 

1. Problem with netbeans

--=-V4uth5ie5cutgiJQHPWN
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Netbeans runs fine on 4-stable at work but not at home on 5.0RC, I get
these errors when running runide.sh

daemon# ./runide.sh=20
expr: illegal option -- J
usage: expr [-e] expression
expr: illegal option -- J
usage: expr [-e] expression
expr: illegal option -- J
usage: expr [-e] expression
Exception in thread "main" java.lang.NoClassDefFoundError:=20

Both are running jdk-1.3.1p7_2

Java is working on current:

Java(TM) 2 Runtime Environment, Standard Edition (build
1.3.1-p7-kaeru-030105-00:05)
Classic VM (build 1.3.1-p7-kaeru-030105-00:05, green threads, nojit)

I'm not familiar with Java, I suspected the script (-J is an option for
jre) but after making sure the runide.sh script is the same on both
platforms, I'm at a lost to as to why it doesn't work on 5.0RC.

Any help would be much appreciated.

--=20

"Those who don't understand UNIX are condemned to reinvent it, poorly."
Henry Spencer

--=-V4uth5ie5cutgiJQHPWN
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+F8FFDAqnLW/+/X8RAmIGAJ4mh7tYqM8L8WfqmBhyWZnSTUYSjwCfUQdJ
spC2P5lSAyhfIZAWwS0DnRw=
=aKzh
-----END PGP SIGNATURE-----

--=-V4uth5ie5cutgiJQHPWN--


with "unsubscribe freebsd-java" in the body of the message

2. Accept()-ing a connection from a specific IP address...

3. Netbeans 3.3 Source Editor Problem

4. Removing logical volumes

5. Java NetBeans 3.4 problem with NetBSD 1.6 (i386)

6. dhcp_tftpd option tag

7. Problem: NetBeans on SuSE 8.1

8. Unix - Frequently Asked Questions (6/7) [Frequent posting]

9. jdk1.3.1 + shujit + netbeans problem

10. NetBeans Developer 2.0 irror sites

11. ANNOUNCE : NetBeans Developer 2.1 with JDBC support released

12. netbeans on BSD?