🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #7269

Re: java application cannot run from command line?

#7269
From: Joi Ellis [TeamB]
Date: Fri, 29 Jun 2001 00:47
38 lines
2350 bytes
dnoyeB <lamont_gilbert @ rigidsoftware.com> wrote:
> Yes, installing JB4 also hosed my local setup.  I dont know what its
> setting, but my java started behaving funny after its installation.  Now JB4
> is working just fine...

JBuilder's installer provides a copy of Sun's Java2 SDK for Windows.
Sun's license for distributing the SDK demands that Borland's installers
update the windows registry to point to the newly-installed version of
Java.  Naturally, this tends to break any Java jvms already installed on
the machine.  Other apps already present, which depend upon the older
JVMs, might also break.

I think you can simply re-install the prior JDK, the registry will be
reset back to its original settings by the older software.  This won't
affect JBuilder, which does not rely upon the registry for anything.
(The only reason its installers touch the registry is because Sun
demands it be done that way.)

> <wuliao999 none> wrote in message news:3b3ae3b8$1_1@dnews...
>>
>> When I just install JB4, it's all right. After a period time,
>> java applications cannot run from command line. For example, I
>> run an app:
>> c:>java myApp
>> then it says:
>> Exception in thread "main" java.lang.NoClassDefFoundError: myApp
>>
>> But it runs well before,and in JB4 IDE,it runs as well.
>>
>> regards



-- 
Joi Ellis (TeamB)               http://www.teamb.com/
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <3b3bd028_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail
References: <3b3ae3b8$1_1@dnews> <3b3b7ae1$3_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f2109051cc22cbb7
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-28 17:57:09 PST
Message-ID: <3b3bd028_1@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: java application cannot run from command line?
Newsgroups: borland.public.jbuilder.java.language
References: <3b3ae3b8$1_1@dnews> <3b3b7ae1$3_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 28 Jun 2001 17:47:36 -0700
X-Trace: dnews 993775656 209.46.41.66 (28 Jun 2001 17:47:36 -0700)
Lines: 38
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!sienna.impulse.net!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!not-for-mail