Visual J# and database programming

S

sasquatch

Hello,

I'm trying to write a program for a class project in Microsoft Visual J#
using JDBC on Oracle. Whenever I try to compile my program, Visual J#
refuses to recognize numerous methods and constants from the ResultSet
class. Does anybody here know why that might be happening?

Alex Marshall
PS Is there a way to get Visual J# to use Sun's VM and not Microsofts?
 
J

Joona I Palaste

Andrew Thompson said:
Straight from the horses mouth..
http://msdn.microsoft.com/vjsharp/using/techinfo/programming/default.aspx
"Microsoft Visual J# .NET is not a tool for developing
applications intended to run on a Java Virtual Machine."
Looks like MS's latest attempt to destroy java.

Search www.microsoft.com for "linux" and you get a link to a case study
comparing two HTTP servers: Microsoft IIS and Apache. It says that IIS
supports Java *better* than Apache... I wonder if people at Microsoft
talk to each other?
 
B

Bjorn Abelli

"Joona I Palaste" ...
Andrew Thompson scribbled the following:
Search www.microsoft.com for "linux" and you get a link to a case study
comparing two HTTP servers: Microsoft IIS and Apache. It says that IIS
supports Java *better* than Apache... I wonder if people at Microsoft
talk to each other?

Hey! You're talking past each other!

Java is one language. Mostly it's compiled into Java bytecode that can run
on a Java Virtual Machine or compatible.

J# is *another* language, but with Java-syntax to such extent that most
Java-code for version 1.1.4 and earlier can compile without any problem as
J#-code. The only J#-compiler I know of generates MSIL-code (Microsoft
Intermediate Language) for the Virtual Machine in the .NET-platform (CLR -
Common Language Runtime).

Since Microsoft decided not to further develop J++ (because of the
lawsuits...), they created this "new" language, J#, to facilitate an easier
transition into the .NET-world for those who came from J++ or Java.

The CLR and the JVM are two completely different Virtual Machines.

MSIL-code generated from J# cannot run on Sun's JVM.

So J# has nothing to do with whether IIS or Apache has "the best support for
Java". That's another cup of coffee... ;-)

// Bjorn A
 

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
474,266
Messages
2,571,078
Members
48,772
Latest member
Backspace Studios

Latest Threads

Top