473,386 Members | 2,114 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Problem starting out with Java . . .

Ash
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?
Jul 17 '05 #1
13 4412
On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?


Post the code that gives you trouble, an exception can be many
things...
Jul 17 '05 #2
Ash
flaps81 wrote:
On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:

Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?

Post the code that gives you trouble, an exception can be many
things...

OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time I
try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.

Thanks
Jul 17 '05 #3
Ash wrote:
flaps81 wrote:
On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:

Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try
to run it, I get "exception in class main".

Can anyone help me, please?


Post the code that gives you trouble, an exception can be many
things...


OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time I
try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.


This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also, I
would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray

--
XML is the programmer's duct tape.
Jul 17 '05 #4
Ash
Raymond DeCampo wrote:
Ash wrote:
flaps81 wrote:
On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I
try to run it, I get "exception in class main".

Can anyone help me, please?


Post the code that gives you trouble, an exception can be many
things...

OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time I
try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.


This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also, I
would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray

Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.
Jul 17 '05 #5
Ash
Ash wrote:
Raymond DeCampo wrote:
Ash wrote:
flaps81 wrote:

On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:
> Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
> every time i try to import java.awt.* , I can't use any of the
> methods(like they don't exist). I can compile it fine, but when I
> try to run it, I get "exception in class main".
>
> Can anyone help me, please?

Post the code that gives you trouble, an exception can be many
things...

OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time
I try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.


This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also,
I would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray

Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.

Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame/class
Jul 17 '05 #6
On Sun, 24 Oct 2004 16:09:31 GMT, Ash <fu******@nb.sympatico.ca>
wrote:
Ash wrote:
Raymond DeCampo wrote:
Ash wrote:

flaps81 wrote:

> On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
> wrote:
>
>
>> Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
>> every time i try to import java.awt.* , I can't use any of the
>> methods(like they don't exist). I can compile it fine, but when I
>> try to run it, I get "exception in class main".
>>
>> Can anyone help me, please?
>
>
>
>
>
> Post the code that gives you trouble, an exception can be many
> things...

OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time
I try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.
This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also,
I would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray

Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.

Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame/class

Are you sure that the file is named TestFrame.java !?!
Jul 17 '05 #7
Ash
flaps81 wrote:
On Sun, 24 Oct 2004 16:09:31 GMT, Ash <fu******@nb.sympatico.ca>
wrote:

Ash wrote:
Raymond DeCampo wrote:
Ash wrote:
>flaps81 wrote:
>
>
>>On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
>>wrote:
>>
>>
>>
>>>Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
>>>every time i try to import java.awt.* , I can't use any of the
>>>methods(like they don't exist). I can compile it fine, but when I
>>>try to run it, I get "exception in class main".
>>>
>>>Can anyone help me, please?
>>
>>
>>
>>
>>
>>Post the code that gives you trouble, an exception can be many
>>things...
>
>
>
>OK - Here it is:
>
>import java.awt.*;
>public class TestFrame
> {
> public static void main(String[] args)
> {
> Frame f = new Frame();
> f.reshape(10,10,200,200);
>
> Button b = new Button("Hello Cyberspace");
> b.setBackground(Color.black);
> b.setForeground(Color.white);
> f.add(b);
> f.show();
> }
> }
>
>Like I said - it compiles fine, but gives me an exception every time
>I try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.
>

This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also,
I would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray
Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Sec ureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.


Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame/class


Are you sure that the file is named TestFrame.java !?!

YES! And I have NO IDEA what I'm doing wrong! I've added the Bin folder
to my path and classpath variables! I've copied the SIMPLEST SOURCES off
the web and ALWAYS it does this! What am I doing wrong!?!

:(
Jul 17 '05 #8
On Sun, 24 Oct 2004 17:18:47 GMT, Ash <fu******@nb.sympatico.ca>
wrote:
flaps81 wrote:
On Sun, 24 Oct 2004 16:09:31 GMT, Ash <fu******@nb.sympatico.ca>
wrote:

Ash wrote:

Raymond DeCampo wrote:
>Ash wrote:
>
>
>>flaps81 wrote:
>>
>>
>>>On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
>>>wrote:
>>>
>>>
>>>
>>>>Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
>>>>every time i try to import java.awt.* , I can't use any of the
>>>>methods(like they don't exist). I can compile it fine, but when I
>>>>try to run it, I get "exception in class main".
>>>>
>>>>Can anyone help me, please?
>>>
>>>
>>>
>>>
>>>
>>>Post the code that gives you trouble, an exception can be many
>>>things...
>>
>>
>>
>>OK - Here it is:
>>
>>import java.awt.*;
>>public class TestFrame
>> {
>> public static void main(String[] args)
>> {
>> Frame f = new Frame();
>> f.reshape(10,10,200,200);
>>
>> Button b = new Button("Hello Cyberspace");
>> b.setBackground(Color.black);
>> b.setForeground(Color.white);
>> f.add(b);
>> f.show();
>> }
>> }
>>
>>Like I said - it compiles fine, but gives me an exception every time
>>I try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.
>>
>
>This program compiles fine (although with a deprecation warning on
>reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
>muddy the waters). Please post the exception you are getting. Also,
>I would encourage you to try this on the command line if you haven't
>already to determine if NetBeans is the problem.
>
>HTH,
>Ray
>

Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a deprecated
API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Se cureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.

Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame/class


Are you sure that the file is named TestFrame.java !?!

YES! And I have NO IDEA what I'm doing wrong! I've added the Bin folder
to my path and classpath variables! I've copied the SIMPLEST SOURCES off
the web and ALWAYS it does this! What am I doing wrong!?!

:(


Beats me, I've tried to copy paste the code you posted and it works
fine. The only way I can get a java.lang.NoClassDefFoundError is if
the filename is wrong...
Jul 17 '05 #9

"Ash" <fu******@nb.sympatico.ca> wrote in message
news:Xt**********************@ursa-nb00s0.nbnet.nb.ca...

Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError:
TestFrame/class


Are you sure that the file is named TestFrame.java !?!

YES! And I have NO IDEA what I'm doing wrong! I've added the Bin folder
to my path and classpath variables! I've copied the SIMPLEST SOURCES off
the web and ALWAYS it does this! What am I doing wrong!?!


You're not typing "java TestFrame" but that alone might not fix things. I
can't be bothered to sort through all your output.

Basically it's like this - "java someclass" will execute main() in
"someclass" (it must be static) which will have the filename
"someclass.class" and the soucefile will be called "someclass.java". Of
course the class could be in a package, which would require you to run it
using "java packagename.someclass".

The fact that you have NO IDEA suggests that you really ought to read
rather more and post less. There's loads of info at http://java.sun.com
Unless you really enjoy looking stupid.

Michael Saunby

Jul 17 '05 #10
Ash
Ash wrote:
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?

OK - when I reinstalled netbeans, their sample helloworld app worked
fine - untill I removed this line:

package bin;

What is that for?
Jul 17 '05 #11
Ash wrote:
Ash wrote:
Raymond DeCampo wrote:
Ash wrote:

flaps81 wrote:

> On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
> wrote:
>
>
>> Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
>> every time i try to import java.awt.* , I can't use any of the
>> methods(like they don't exist). I can compile it fine, but when I
>> try to run it, I get "exception in class main".
>>
>> Can anyone help me, please?
>
>
>
>
>
>
> Post the code that gives you trouble, an exception can be many
> things...


OK - Here it is:

import java.awt.*;
public class TestFrame
{
public static void main(String[] args)
{
Frame f = new Frame();
f.reshape(10,10,200,200);

Button b = new Button("Hello Cyberspace");
b.setBackground(Color.black);
b.setForeground(Color.white);
f.add(b);
f.show();
}
}

Like I said - it compiles fine, but gives me an exception every time
I try to run it. I'm using NetBeans 3.6 and J2SKD 1.4.2.
This program compiles fine (although with a deprecation warning on
reshape()) and runs fine for me (JDK 1.4.2_04-b05 on linux, no IDE to
muddy the waters). Please post the exception you are getting. Also,
I would encourage you to try this on the command line if you haven't
already to determine if NetBeans is the problem.

HTH,
Ray

Nice sig. Ok - I get this from the compiler output:

Note: D:\Java\Bin\eXtropia\TestFrame.java uses or overrides a
deprecated API.
Note: Recompile with -deprecation for details.
Finished TestFrame.

and this from the program output:

java.lang.NoClassDefFoundError: Bin/eXtropia/TestFrame (wrong name:
TestFrame)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java :537)
at
java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:251)
at java.net.URLClassLoader.access$100(URLClassLoader. java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 89)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 35)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:302)
Exception in thread "main"

I'll try doing it throught the command window.


Under the cmd window, I get
D:\Java\Bin\eXtropia>java TestFrame.class
Exception in thread "main" java.lang.NoClassDefFoundError: TestFrame/class

Run it as:
D:\Java\Bin\eXtropia>java TestFrame

Leave out the .class when creating a new VM. :)
Jul 17 '05 #12

"Ash" <fu******@nb.sympatico.ca> wrote in message
news:_d**********************@ursa-nb00s0.nbnet.nb.ca...
Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?


Start out with notepad - not netbeans.

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.781 / Virus Database: 527 - Release Date: 10/21/2004
Jul 17 '05 #13
Ash
flaps81 wrote:
On Sun, 24 Oct 2004 01:06:02 GMT, Ash <fu******@nb.sympatico.ca>
wrote:

Hey. Im new to Java, and am having a prroblem with the netbeans IDE.
every time i try to import java.awt.* , I can't use any of the
methods(like they don't exist). I can compile it fine, but when I try to
run it, I get "exception in class main".

Can anyone help me, please?

Post the code that gives you trouble, an exception can be many
things...

ARG!!!!!!!!!!!!

I HAVE *NO* JAVA.LANG FILES! ANYWHERE! WTF!?! I TRY TO USE jikes.exe
INSTEAD, and it gives me

*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath
, and/or extdirs setup. Jikes could not find package "java.lang" in:

WTF!?! Please help!
Jul 17 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Roy Benjamin | last post by:
I'm developing a WEB service for Sun ONE deployment (AppServer7). I'm developing on Windows XP Pro though will deploy on Solaris, Sun AppServer7 includes a XercesImpl.jar in share/lib. 2 kb...
1
by: David | last post by:
Hello, I'm starting with java and i'm having problems to display an image in a splitpanel with a scrollbar. I have different files but those required are described below. I think the problem is...
5
by: Blue Ocean | last post by:
In short, it's not working right for me. In long: The program is designed to read numbers from an accumulator and speak them out loud. Unfortunately, the class that contains the method to...
2
by: Kent Lewandowski | last post by:
hi all, Recently I wrote some stored procedures using java jdbc code (admittedly my first stab) and then tried to implement the same within java packages (for code reuse). I encountered...
1
by: Darren Withers | last post by:
Hi Am just starting out using Java, what are the best resources to use to get the most out of this language?
1
by: olli | last post by:
I made a program with Eclipse that is using JAXB from JWSDP 2.0. Program runs ok in the Eclipse and builds jar package with all jsxb jars ok. Then I am trying to run the packet in dos-prompt it gives...
0
by: shaileshkumar | last post by:
hi, iam unable to run my applications in netbeans4.1. problem may be due to JVM or port numbers conflict. i did not intentionally change any port numbers . please guide me accordingly. iam...
0
by: perdoname | last post by:
Hello, I urgently need help, im trying to complete a class which will be able of multiple - clients but is not doing the required puprose. Can anyone be assistance of what is needed to add for...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.