Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Jedit, java...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
dx0r
n00b
n00b


Joined: 02 Aug 2002
Posts: 21

PostPosted: Sun Sep 15, 2002 12:37 pm    Post subject: Jedit, java... Reply with quote

Hello. I have encountered some problems trying to emerge jedit. I have followed the Gentoo Java Guide and emerged dev-java/sun-jdk-1.3.1.04.

Code:

bash-2.05a# emerge jedit
Calculating dependencies ...done!
>>> emerge app-editors/jedit-4.0.3-r2 to /
>>> md5 ;-) jedit403source.tar.gz
>>> Unpacking source...
>>> Unpacking jedit403source.tar.gz
>>> Source unpacked.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 10, Exitcode 1
!!! compile problem

bash-2.05a#


Does anyone have a clue what needs to be done?

Thanks!
Back to top
View user's profile Send private message
pan
n00b
n00b


Joined: 14 Sep 2002
Posts: 13
Location: Sweden

PostPosted: Wed Sep 18, 2002 9:02 am    Post subject: Re: Jedit, java... Reply with quote

dx0r wrote:
Hello. I have encountered some problems trying to emerge jedit. I have followed the Gentoo Java Guide and emerged dev-java/sun-jdk-1.3.1.04.

Code:

bash-2.05a# emerge jedit
...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/Main


Does anyone have a clue what needs to be done?

Thanks!


If you haven't emerged ant you need do that first apparently. This something of a guess since I haven't used jedit myself, but since the java compiler can't find ant it seems a safe bet...

/p
Back to top
View user's profile Send private message
cole
n00b
n00b


Joined: 30 Sep 2002
Posts: 20

PostPosted: Mon Oct 21, 2002 8:30 pm    Post subject: Reply with quote

I got the same error. I ended up having to unmerge ant-1.5 and emerge ant-1.4.1-r3 and then emerge jedit. I'm using sun-jdk-1.4.1.01 BTW. I've not learned the bugzilla system yet or I'd post a bug.
_________________
"I'm tolerating you."
Back to top
View user's profile Send private message
cole
n00b
n00b


Joined: 30 Sep 2002
Posts: 20

PostPosted: Tue Oct 22, 2002 3:09 am    Post subject: Reply with quote

Well, looks like jedit isn't working with any ant version. It gave me an Exception in main when i tried the command. I downloaded the jar installer from the site to see if i could get a quick jedit running but it wouldn't extract. So, i downgraded jdk to 1.4.0 and installed ant 1.5 and jedit (latest) and it seemed to work.

I don't know, I think I may have forgotten to update my paths after i set system vm. Man, that got me worried. If I couldn't use forte, I'd be screwed!
_________________
"I'm tolerating you."
Back to top
View user's profile Send private message
zyzzyr
n00b
n00b


Joined: 21 Oct 2002
Posts: 27

PostPosted: Wed Nov 06, 2002 2:14 am    Post subject: Reply with quote

Hello,

I had a similar problem. I emerge'd jedit, which downloaded and installed blackdown-jdk and ant, no problems, then puked on jedit.

The following worked for me:

emerge -C ant
java-config --set-system-vm=blackdown-jdk
emerge ant
emerge jedit

Cheers,

zyzzyr
Back to top
View user's profile Send private message
savage
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 161

PostPosted: Wed Jan 01, 2003 4:50 pm    Post subject: how the ant / jedit thing worked for me Reply with quote

zyzzyr's suggestions:

emerge -C ant
java-config --set-system-vm=blackdown-jdk
emerge ant
emerge jedit

but I found that I had to java-config --set-system-vm back to the sun-jdk (1.4) to emerge jedit. there were quite a few warnings as jedit compiled, but it seems fine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum