Re: netbeans 6.0.1 not run

2009-10-09 Thread BigDes



cuongvt wrote:
> 
> Hi all!
> 
> full explanation:
> FreeBSD 7.0-RELEASE (i386)
> uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network)
> 
> installed:
> jdk-1.6.0.3p4_1
> diablo-jdk-1.5.0.07.01_10
> javavmwrapper-2.3.2
> 
> I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc.
> java -version:
> java 16 jdku3p1 etc etc
> 
> Then I insralled netbeans from ports, firstly it warned:
> JAVA_HOME should not be defined.
> 
> So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and
> reinstalled netbeans.
> Installation went fine.
> 
> When I try run netbeans:
> m...@lo0:~>netbeans
> XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
> after 0 requests (0 known processed) with 0 events remaining.
> 
> Any ideas?
> P/S:All pkgs were installed via ports*
> 
you shall change your java interpreter package.
Install jdk1.6 from /usr/ports/java/jdk16, by going to this directory and
typing "make install".
 I tried jdk1.6.0  and replaced it instead of  diablo-1.5.0.
In order to do this you shall try to change javahome directory in
netbeans.conf 
you may find this file in /usr/local/netbeans/etc  then:

#vi netbeans.conf

you may see something like this

javahome= /usr/local/diablo-1.5.0

chang that into:

javahome=/usr/local/jdk1.6.0

then it will work
-- 
View this message in context: 
http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p25817655.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: netbeans 6.0.1 not run

2008-05-12 Thread AngryWolf
Correction, if you are at the phase of installing the port, then yes, 
unsetting $JAVA_HOME was the only way for me to install the port.

-- 
AngryWolf
[EMAIL PROTECTED]

On Monday 12 May 2008 17.48.51 AngryWolf wrote:
> Hi,
>
> Setting up JAVA_HOME correctly, helped for me:
>
> $ echo $JAVA_HOME
> /usr/local/jdk1.6.0
>
> Nothing else was needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netbeans 6.0.1 not run

2008-05-12 Thread AngryWolf
Hi,

Setting up JAVA_HOME correctly, helped for me:

$ echo $JAVA_HOME
/usr/local/jdk1.6.0

Nothing else was needed.

-- 
AngryWolf
[EMAIL PROTECTED]

On Monday 12 May 2008 01.34.10 cuongvt wrote:
> Hi all!
>
> full explanation:
> FreeBSD 7.0-RELEASE (i386)
> uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network)
>
> installed:
> jdk-1.6.0.3p4_1
> diablo-jdk-1.5.0.07.01_10
> javavmwrapper-2.3.2
>
> I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc.
> java -version:
> java 16 jdku3p1 etc etc
>
> Then I insralled netbeans from ports, firstly it warned:
> JAVA_HOME should not be defined.
>
> So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and
> reinstalled netbeans.
> Installation went fine.
>
> When I try run netbeans:
> [EMAIL PROTECTED]:~>netbeans
> XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
> after 0 requests (0 known processed) with 0 events remaining.
>
> Any ideas?
> P/S:All pkgs were installed via ports*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netbeans 6.0.1 not run

2008-05-11 Thread cuongvt



Luke Dean wrote:
> 
> 
> 
> On Sun, 11 May 2008, cuongvt wrote:
> 
>>
>> Hi all!
>>
>> full explanation:
>> FreeBSD 7.0-RELEASE (i386)
>> uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network)
>>
>> installed:
>> jdk-1.6.0.3p4_1
>> diablo-jdk-1.5.0.07.01_10
>> javavmwrapper-2.3.2
>>
>> I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc.
>> java -version:
>> java 16 jdku3p1 etc etc
>>
>> Then I insralled netbeans from ports, firstly it warned:
>> JAVA_HOME should not be defined.
>>
>> So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and
>> reinstalled netbeans.
>> Installation went fine.
>>
>> When I try run netbeans:
>> [EMAIL PROTECTED]:~>netbeans
>> XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
>> after 0 requests (0 known processed) with 0 events remaining.
> 
> This is exactly the same error message I get whenever I attempt to run any 
> graphical java application on FreeBSD 7 using the diablo port.  Between 
> the diablo binaries and my Nvidia drivers, I'm relying on so many 
> different compatibility layers and hacks that it's just too much.
> 
> Installing jdk-1.6 and forcing my java applications to point to 
> /usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for 
> me.
> 
> So, I suspect that netbeans is still looking at the diablo java.
> Maybe there's a configuration option somewhere?
> If netbeans copies the java engine or contains its own, then I bet it's 
> using diablo because that's the dependency that the port lists.
> I've not used netbeans on FreeBSD, so I don't know.
> 
>>
>> Any ideas?
>> P/S:All pkgs were installed via ports*
>> -- 
>> View this message in context:
>> http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html
>> Sent from the freebsd-questions mailing list archive at Nabble.com.
> Yeah. Netbeans looks for diablo 1.5 p7 as it's dependency.
> Thanks for info. Any idea?
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 

-- 
View this message in context: 
http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179967.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: netbeans 6.0.1 not run

2008-05-11 Thread Luke Dean



On Sun, 11 May 2008, cuongvt wrote:



Hi all!

full explanation:
FreeBSD 7.0-RELEASE (i386)
uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network)

installed:
jdk-1.6.0.3p4_1
diablo-jdk-1.5.0.07.01_10
javavmwrapper-2.3.2

I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc.
java -version:
java 16 jdku3p1 etc etc

Then I insralled netbeans from ports, firstly it warned:
JAVA_HOME should not be defined.

So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and
reinstalled netbeans.
Installation went fine.

When I try run netbeans:
[EMAIL PROTECTED]:~>netbeans
XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.


This is exactly the same error message I get whenever I attempt to run any 
graphical java application on FreeBSD 7 using the diablo port.  Between 
the diablo binaries and my Nvidia drivers, I'm relying on so many 
different compatibility layers and hacks that it's just too much.


Installing jdk-1.6 and forcing my java applications to point to 
/usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for 
me.


So, I suspect that netbeans is still looking at the diablo java.
Maybe there's a configuration option somewhere?
If netbeans copies the java engine or contains its own, then I bet it's 
using diablo because that's the dependency that the port lists.

I've not used netbeans on FreeBSD, so I don't know.



Any ideas?
P/S:All pkgs were installed via ports*
--
View this message in context: 
http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html
Sent from the freebsd-questions mailing list archive at Nabble.com.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


netbeans 6.0.1 not run

2008-05-11 Thread cuongvt

Hi all!

full explanation:
FreeBSD 7.0-RELEASE (i386)
uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network)

installed:
jdk-1.6.0.3p4_1
diablo-jdk-1.5.0.07.01_10
javavmwrapper-2.3.2

I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc.
java -version:
java 16 jdku3p1 etc etc

Then I insralled netbeans from ports, firstly it warned:
JAVA_HOME should not be defined.

So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and
reinstalled netbeans.
Installation went fine.

When I try run netbeans:
[EMAIL PROTECTED]:~>netbeans
XIO: fatal IO error 0 (Unknown error: 0) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Any ideas?
P/S:All pkgs were installed via ports*
-- 
View this message in context: 
http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Netbeans C/C++ Pack 5.5

2006-12-05 Thread Willy Tiengo

hi,

have anybody obtained  success in install C/C++ pack for Netbeans 5.5 on
freeBSD? because on netbeans's site there is no available pack for OS
independent distribution. could anyone tell me if there is any ports that do
it

thanks

--
Willy Tiengo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting environmental variable for Netbeans

2004-08-09 Thread Kevin D. Kinsey, DaleCo, S.P.
Peter Ryan wrote:
I am treading more unknown ground trying
to get NetBeans to run on 4.10.
I installed jdk 1.4.2 (thanks to help from 
here), and have installed this Netbeans 
via the ports collection.

Now when i try to run it, it wants an
environmental variable called JDK_HOME to
be set.
Using tips from searching the net, I am
under the impression I have to change a 
a file called csh.cshrc or maybe .cshrc
Then I did a find files on .cshrc, and 
found 2 copies - one under
root/ and the other under usr/home/peter.

I am logged in under root, so I am not sure
which file I should change, or even if this
is the correct file.
Could someone point me in the right
direction before I fiddle enough to have
to resinstall again :)
Thanks,
Peter
 

Reinstall?  I don't think it'll get that severe just from
this.  BSD and XP rhyme ... that's about it.
Very simply, the file ".cshrc" is the C-shell's
"resource" file.  It is read after login by the
shell as the shell is starting up.  So, if you
are logging in as "peter", it will read
/usr/home/peter/.cshrc and set up things like
your shell prompt, some aliases, and environment
variables...
The same is true for a root login; root's shell
reads "/root/.cshrc" (assuming, of course, that
root's shell is csh or tcsh ...)
The line could appear anywhere in .cshrc, and the
syntax for the var would be:
setenv JDK_HOME /somedir/here
That's assuming, of course, that Netbeans
is looking for a path, and not a boolean or
other data type.
While I'm mentioning stuff, it might be a
Good Thing(tm) to mention that root logins
are *not* considered a Good Thing(tm) [1]
HTH,
Kevin Kinsey
DaleCo, S.P.
[1] www.freebsd.org/handbook/users-superuser.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Setting environmental variable for Netbeans

2004-08-08 Thread Peter Ryan
I am treading more unknown ground trying
to get NetBeans to run on 4.10.

I installed jdk 1.4.2 (thanks to help from 
here), and have installed this Netbeans 
via the ports collection.

Now when i try to run it, it wants an
environmental variable called JDK_HOME to
be set.

Using tips from searching the net, I am
under the impression I have to change a 
a file called csh.cshrc or maybe .cshrc
Then I did a find files on .cshrc, and 
found 2 copies - one under
root/ and the other under usr/home/peter.

I am logged in under root, so I am not sure
which file I should change, or even if this
is the correct file.

Could someone point me in the right
direction before I fiddle enough to have
to resinstall again :)

Thanks,
Peter
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Netbeans

2002-10-25 Thread Matt Smith
Anyone using NetBeans for Java development on FreeBSD?  Good, bad, ugly?

Also, are there any good multi-language GUI IDEs for FreeBSD?  At the
moment I use SciTE for my coding (lots of languages supported for syntax
highlighting), then Makefiles for project management, which is "pretty
good".

I would like something similar to the NetBeans interface, but with
support for other language "plugins" (providing project management,
syntax highlighting, compiler configurations, GUI interface to existing
debugging tools, etc), AND an existing archive of plugins for numerous
languages, since I am too lazy to write my own.  ;)

I am not interested in using vi or emacs, or any such spin-offs.  I am
primarily looking for language support for C, C++, Java, PERL, PHP,
Python, and LISP.

I would prefer something free and in the ports collection, but I am open
to commercial offerings as well, as long as it runs on FreeBSD (because
I am not willing to switch to Linux).

Thanks all!
-Matt


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message