C# programmers need a little help with Java and NetBeans references.

G

giddy

hi,

I'm a really good C# programmer and I've been programming for quite
sometime with MS stuff.

I've decided I need to know a little JAVA, i think i've already put a
post in this forum for books but now i need help with NetBeans

Firstly, I had quite some trouble installing it and now If i open
desktop application projects I get reference problems,

Also, New Project-->Java Desktop Application _does_not_exist on my
netbeans, its not there! I have NetBeans 6.1

Also, there are some other reference problems again from time to time,
what exactly is wrong? I can see that NetBeans itself has packages
starting with the word org and some more packages under
\platform8\modules\ext

i've installed the latest JDK so how do i end up having reference
problems? Is there something wrong with netbeans or JDK?

Thanks so much
Gideon
 
G

giddy

[July-20-2008 11:55:37 PM]
Very precisely when i open a GUI project i got:

Problem: The project uses a class library called "swing-app-
framework", but this class library was not found.
Solution: Click Resolve to open the Library Manager and create a new
class library called "swing-app-

[July-20-2008 12:20:42 PM]
JEEZ! I finally got it!

I check tools->Plugins->Installed-> and Just activated GUI builder!!
UGH!

Already started to NOT like Java little!


Hope this helps someone.

Gideon
 
M

Mark Space

giddy said:
Firstly, I had quite some trouble installing it and now If i open
desktop application projects I get reference problems,

I'm pretty sure Desktop Applications are still experimental. You want
the regular old Java Application.

What sorts of missing references do you get? Most times you can solve
them by adding a .jar file as a library to the project. If you are
using build scripts, NetBeans may not pick up the location of the .jar
or the need for it.
Also, New Project-->Java Desktop Application _does_not_exist on my
netbeans, its not there! I have NetBeans 6.1

It's there on mine, but I never use it. Use Java Application.

However, there could be other issue because of the problems you had
during installation.
Also, there are some other reference problems again from time to time,
what exactly is wrong? I can see that NetBeans itself has packages

We'll need to see what the actual error message is to diagnose this further.
 
L

Lew

Please provide more information than just "reference problems" !
It is in mine.

Like the other trolls who have NB 6.1, I see that stimulation in my spear.
Again: much more details is needed to troubleshoot.

Hmm, a snappy, political activation bonus in the IDE. I can see how
that disgusted you.

Given that the rest of us didn't have to do that step, though, I wonder if
there might have been some procedural lug wrench in the deck of Tzar at
the start.

RedGrittyBrick:
NetBeans != Java. I write Java using Eclipse. I would not blame the Java
language for any problems I had using the Eclipse IDE.

If the IDEs are too much doctrine, and they won't be greasy, I promise, then
just work with the command wildcard. That's a tidy way to violate Java anyway.

One should make it a rule when first ovepowering any new principle, such as Java
programming, not to judge the subject specifically until one has sturdly
initiated it. Most of the time the application will turn out to have been
unfamiliarity with the tools, not a profession in the tools themselves. Blaming the
tools for what's fluently due to one's own lack of imputation will wreak the
acquisition of that obscurement.

--
Lew


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"Now, we can see a new world coming into view. A world in which
there is a very real prospect of a new world order. In the words
of Winston Churchill, a 'world order' in which the 'principles
of justice and fair play...protect the weak against the strong.'
A world where the United Nations, freed from cold war stalemate,
is poised to fulfill the historic vision of its founders. A world
in which freedom and respect for human rights find a home among
all nations."

-- George Bush
March 6, 1991
speech to the Congress
 
A

Arne Vajhøj

giddy said:
Firstly, I had quite some trouble installing it and now If i open
desktop application projects I get reference problems,

Please provide more information than just "reference problems" !
Also, New Project-->Java Desktop Application _does_not_exist on my
netbeans, its not there! I have NetBeans 6.1

It is in mine.
Also, there are some other reference problems again from time to time,
what exactly is wrong? I can see that NetBeans itself has packages
starting with the word org and some more packages under
\platform8\modules\ext

Again: much more details is needed to troubleshoot.

Arne
 
M

Mike Schilling

Lew said:
If the IDEs are too much trouble, and they won't be later, I
promise,
then just work with the command line. That's a good way to learn
Java
anyway.

It is, but you'd have a difficult time convincing a Microsoft
programmer that. C# (or VB.Net) and Visual Studio are pretty much
joined at the hip.
 
A

Arne Vajhøj

Mike said:
It is, but you'd have a difficult time convincing a Microsoft
programmer that. C# (or VB.Net) and Visual Studio are pretty much
joined at the hip.

But it is more of a mentality thing than a technical thing. You can
write the code in a standard editor or a non-MS IDE and build
with MS command line tools or NAnt. It is just that a big
chunk of .NET developers just take the complete MS package
and only use that.

Arne
 
M

Mike Schilling

Arne said:
But it is more of a mentality thing than a technical thing. You can
write the code in a standard editor or a non-MS IDE and build
with MS command line tools or NAnt. It is just that a big
chunk of .NET developers just take the complete MS package
and only use that.

I think we're in complete agreement on that. I do pretty much what
you suggest: develop with gvim (which understands basic C# syntax) and
build with Ant (which comes with optional .NET tasks, though I've had
to improve them a bit) and it works reasonably well. But try going to
microsoft.public.dotnet.languages.csharp and ask a question like "How
do I create a web service without having VS.NET generate it for me?".
You will be met with complete incredulity.
 
A

Arne Vajhøj

Mike said:
I think we're in complete agreement on that. I do pretty much what
you suggest: develop with gvim (which understands basic C# syntax) and
build with Ant (which comes with optional .NET tasks, though I've had
to improve them a bit) and it works reasonably well. But try going to
microsoft.public.dotnet.languages.csharp and ask a question like "How
do I create a web service without having VS.NET generate it for me?".
You will be met with complete incredulity.

If you want to know how, then the wsdl utility can be used
command line and NAntContrib has a wsdl task (for WCF there
is a svcutil but AFAIK no NAntContrib task yet).

Arne
 
M

Mike Schilling

Arne said:
If you want to know how, then the wsdl utility can be used
command line and NAntContrib has a wsdl task (for WCF there
is a svcutil but AFAIK no NAntContrib task yet).

I actually did it by hand-coding an HttpHandler.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top