LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-24-2009, 03:41 PM   #1
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 398

Rep: Reputation: 64
netbeans 6.7.1 on slack 13.0 issue


I downloaded the netbeans 12.2 slackbuild for netbeans 6.5.1 and adapted it for netbeans 6.7.1 (downloaded from netbeans.org) by changing some references from 6.5 to 6.7 and the resulting package built and then installed just fine. (There's no slackbuild for 13.0 in slackbuilds.org just now).

Netbeans appears to run fine too, but, whenever I try and compile java code inside it, it complains that I don't have the jdk setup correctly and can't find javac. I installed the jdk package from slackware 13's /extra and it all seems to be there in /usr/lib/java as I'd expect. I also played around with every relevant setting in netbeans I could think of, but to no avail.

Anyone else hit a problem like this?

EDIT: have installed 6.5.1 instead and it works fine.

Last edited by mcnalu; 09-24-2009 at 04:41 PM. Reason: extra info
 
Old 09-24-2009, 04:49 PM   #2
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Posts: 652

Rep: Reputation: 141Reputation: 141
Could it be a PATH issue? Try compiling from the command line and see if you get an error.
 
Old 09-25-2009, 04:27 AM   #3
mcnalu
Member
 
Registered: Dec 2006
Location: Glasgow, UK
Distribution: Slackware 13.37 and 13.1
Posts: 398

Original Poster
Rep: Reputation: 64
Definitely not PATH issue - javac works just fine on the command line.

Also, bizarrely, if I chose "Run" a particular java file with a main class then nb 6.7.1 would *compile* and then run it. I could verify it wasn't just picking up some old .class files by changing the source code and see the runtime out differ. Very odd.

Anyway, 6.5 will do just fine for now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
netbeans 6.7.1 issue anillohchab007 Linux - Software 0 08-26-2009 03:51 PM
Overwrite Issue Slack 12.2 y3hDatMe Slackware 3 01-27-2009 08:34 PM
Slack 12-Modem Issue svar Slackware 56 02-26-2008 10:46 AM
LXer: Sun Announces the Latest in Open Source Tools with the Availability of NetBeans Visual Web Pack and NetBeans C/C++ Development Pack LXer Syndicated Linux News 1 12-31-2006 08:37 AM
Slack 10.1 -- Mouse issue / X11 issue Pozican Linux - General 4 04-19-2005 04:44 AM


All times are GMT -5. The time now is 04:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration