File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Visual J++ beginners question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Visual J++ beginners question" Watch "Visual J++ beginners question" New topic

Visual J++ beginners question

macca cronin

Joined: Aug 05, 2004
Posts: 7

I've just started using Microsoft Visual J++ and I have a problem regarding its use. It is regarding the jdk version that Visual J++ (version 6.0) uses. I want to use the String class methods split() among others that are part of the java.util.regex.* package but the version of Visual J++ I have does not recognise these packages. When I import just java.util.* I get the error "'split' is not a method of class String (J0235)", whereas whan I include the java.util.regex.* package I get the error "Undefined package java.util.regex (J0051)". When I was not using the Visual J++ environment and just javac from the commandline I got the same problem, until I updated my jdk from 1.3 to 1.4 so that's why I think the problem lies with the jdk that Visual J++ is using (however I really don't know my way around Visual J++ yet so I could be totally wrong!!). Could anyone let me know why I'm getting this problem and how I might solve it. Thanks very much.
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
I think Visual J++ is outdated.

Why don't u start using open-source upto date IDE like Eclipse??

SCJP, blog
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

J++ never used any official JDK; it used Microsoft's own, subtly different, Java implementation. It's been abandonware for many years now; it was never upgraded past something like JDK 1.1.3 compatibility. Please don't waste your time (or ours!) by trying to use it.

Don't use it. Eclipse, NetBeans, IntelliJ IDEA, and Borland JBuilder are some of the excellent Java IDEs available now: the first two are absolutely free. See to download Eclipse.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Visual J++ beginners question
It's not a secret anymore!