LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-09-2004, 02:04 AM   #1
corpus_delicti
LQ Newbie
 
Registered: Apr 2003
Location: New York
Distribution: Red Hat 8
Posts: 15

Rep: Reputation: 0
Java/KDE Application Framework Problem in KDevelop 3.0


Hi,

I'm starting a kde project programmed in java, but i'm running into some problems with the application framework code that kdevelop starts you off with. If I try to compile and run the program (just the initial code that kdevelop gives with the framework) I run into several errors. There are a few errors where it looks like methods are used incorrectly and I don't know how to fix them. And there are other errors that say " cannot resolve symbol " and then it lists the class that cannot be resolved.

I know it's reading the external packages ok, so this isn't the problem.

If anyone has had this problem, or knows to fix this problem, your help is appreciated. Also, if anyone would like to take the time to try and recreate this problem, be my guest. (In order for the external packages to be used you must set CLASSPATH to the external packages. For me it was $ export CLASSPATH=/opt/kde3/lib/java/koala.jar:/opt/kde3/lib/java/qtjava.jar)
 
Old 08-29-2004, 12:53 PM   #2
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
"export CLASSPATH=/opt/kde3/lib/java/koala.jar:/opt/kde3/lib/java/qtjava.jar"
my updated /etc/profile.d/kde.sh
PHP Code:
#!/bin/sh
# KDE additions:
KDEDIR=/opt/kde
PATH
=$PATH:$KDEDIR/bin
CLASSPATH
=$CLASSPATH:$KDEDIR/lib/java/koala.jar:$KDEDIR/lib/java/qtjava.jar
export KDEDIR PATH CLASSPATH 
thanks!

- perry

Last edited by perry; 08-29-2004 at 01:29 PM.
 
  


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
help me register JMF (Java Media Framework) vanhelsing Programming 0 08-02-2004 12:22 PM
Problem installing sun java application server on linux R0ss_here Linux - Software 0 02-13-2004 12:14 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 10:08 AM
Problem viewing java application in mozilla. kamal_aitin Linux - Software 5 08-23-2003 12:02 PM
Problem creating KDE project with KDevelop 2.0.1 stodge Programming 4 01-24-2002 06:22 AM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
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