ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how did you install jbuilder? as root and installed in /opt or /usr/local? if so from which account are you trying to run it? for every user you want to run jbuilder you have to copy that registration textfile to every user's home directory.
I'm having the same error. I have installed it from the root account, and I'm trying to run it from the same account.
The complete error message is:
lucifer:/usr/local/jbuilder9/bin# ./jbuilder -verbose
Scanning manifest from /usr/local/jbuilder9/jdk1.4/lib/tools.jar
Scanning manifest from /usr/local/jbuilder9/lib/activation.jar
Scanning manifest from /usr/local/jbuilder9/lib/ant.jar
Scanning manifest from /usr/local/jbuilder9/lib/beandt.jar
Scanning manifest from /usr/local/jbuilder9/lib/dbswing.jar
Scanning manifest from /usr/local/jbuilder9/lib/dbswingdt.jar
Scanning manifest from /usr/local/jbuilder9/lib/dbtools.jar
Scanning manifest from /usr/local/jbuilder9/lib/dt.jar
Scanning manifest from /usr/local/jbuilder9/lib/dx.jar
Scanning manifest from /usr/local/jbuilder9/lib/EccpressoAll.jar
Scanning manifest from /usr/local/jbuilder9/lib/flexlm.jar
Scanning manifest from /usr/local/jbuilder9/lib/gnuregexp.jar
Scanning manifest from /usr/local/jbuilder9/lib/help.jar
Scanning manifest from /usr/local/jbuilder9/lib/jbcl.jar
Scanning manifest from /usr/local/jbuilder9/lib/jbuilder.jar
Bloqueando inicialización de com.borland.jbuilder.wizard.migration.MigrationTool
Bloqueando inicialización de com.borland.jbuilder.wizard.vcafeproject.ImportProjectWizard
Bloqueando inicialización de com.borland.jbuilder.enterprise.ejb.DeployPropertyGroup
Scanning manifest from /usr/local/jbuilder9/lib/jdbcx.jar
Scanning manifest from /usr/local/jbuilder9/lib/jds.jar
Scanning manifest from /usr/local/jbuilder9/lib/jdsremote.jar
Scanning manifest from /usr/local/jbuilder9/lib/jdsserver.jar
Scanning manifest from /usr/local/jbuilder9/lib/linuxDesktopConfigurator.jar
Scanning manifest from /usr/local/jbuilder9/lib/mail.jar
Scanning manifest from /usr/local/jbuilder9/lib/optional.jar
Scanning manifest from /usr/local/jbuilder9/lib/primetime.jar
Scanning manifest from /usr/local/jbuilder9/lib/sanctuary.jar
Scanning manifest from /usr/local/jbuilder9/lib/unittest.jar
Scanning manifest from /usr/local/jbuilder9/lib/webservices.jar
Bloqueando inicialización de com.borland.jbuilder.webservices.toolkits.weblogic.node.wldu.WlduNodePropertyGroup
Bloqueando inicialización de com.borland.jbuilder.webservices.toolkits.weblogic.build.WeblogicServicegenBuilder
Scanning manifest from /usr/local/jbuilder9/lib/xercesImpl.jar
Scanning manifest from /usr/local/jbuilder9/lib/xmlParserAPIs.jar
OpenTools discovered (1248ms)
--- Initializing OpenTools-Core
OpenTool com.borland.jbuilder.build.BuildCommand (649+3ms)
*** OpenTool com.borland.jbuilder.JBuilderCore no se inicializó
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.borland.primetime.PrimeTime.b(Unknown Source)
at com.borland.primetime.PrimeTime.initializeOpenTools(Unknown Source)
at com.borland.primetime.PrimeTime.initializeOpenTools(Unknown Source)
at com.borland.primetime.PrimeTime.start(Unknown Source)
at com.borland.jbuilder.JBuilder.main(Unknown Source)
Caused by: java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:72)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.Toolkit$2.run(Toolkit.java:712)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:703)
at com.borland.primetime.util.Images.getImage(Unknown Source)
at com.borland.primetime.util.Images.getImage(Unknown Source)
at com.borland.primetime.util.Images.getImage(Unknown Source)
at com.borland.jbuilder.info.JBuilderInfo.<clinit>(Unknown Source)
at com.borland.jbuilder.JBuilderCore.initOpenTool(Unknown Source)
... 9 more
OpenTool com.borland.jbuilder.java.JavacValidator (15+10ms)
--- OpenTools-Core initialized (1078ms total)
lucifer:/usr/local/jbuilder9/bin#
did either of you save the reg297.txt file to the user's home directory that you want to be able to use jbuilder? borland sends this reg file to you via email. a copy of this text file has to be in all your users' home directories that you want to be able to run jbuilder. so if you want root to be able to use jbuilder, make a copy of reg297.txt and put in /root. if you want johnny_user to be able to run jbuilder, put a copy of reg297.txt in /home/johnny_user
I had also a version of the SUN j2sdk1.4.2_01 running on my computer.
So I changed the links in .../JBuilder9/bin/jdk.config
The JBuilder worked but I got errors.
The Computer was a new installation so (I know that's no answer) reinstalled my Mandrake without j2sdk1.4.2_01.
I think if you spend some time with the the config files you can fix the problem also without a re-installation, but I had not the time.
The problem, was not in the register file. I had already installed before the jsdk from sun, so I had already had some troubles installing, but I solved them. When I installed it, I wanted JBuilder to run using the JSDK that it has by default (the VM it brings), but for some reason, it didn't want to work with it, so I changed some paths in sdk.config file, and it worked.
For some reason, my JBuilder, cant finde java.lang... It says It's not in the boot up Classpath or something (I have the spanish version of JBuilder, so my mesages are in spanish).
The IDE works fine, but it doen't compile or execute the programs...
What I did was install libstdc++2.10-2.96-0.83mdk.i586.rpm (just do a google search) and the problem was solved. Note I first uninstalled JBuilder9 and then reinstalled so you may have to do that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.