Computing.Net > Forums > Programming > Java Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Java Problem

Reply to Message Icon

Name: Khash
Date: September 10, 2003 at 19:03:28 Pacific
OS: RH Linux 9
CPU/Ram: 3GHZ/1GB
Comment:

Hey
I'm trying to use CodeWarrior to write some Java programs. I get the error:
Link Error : Could not initialize Java VM. Make sure the JDK is installed properly.
What is the problem? Should I download JVM? Shouldn't it be on my computer?
Thanks for the help



Sponsored Link
Ads by Google

Response Number 1
Name: Khash
Date: September 10, 2003 at 20:03:50 Pacific
Reply:

I've tried installing SDK but I get an error during installation that it can not change the system confuguration and installation fails. Any Ideas?
Thanks


0

Response Number 2
Name: Don Arnett
Date: September 10, 2003 at 21:18:58 Pacific
Reply:

The SDK and the JVM are not the same thing. I believe that the SDK includes the JVM, but you might make sure.

Anywho, that doesn't answer your second question. Are you root when you run the install?? You might need to be.


0

Response Number 3
Name: Infinite Recursion
Date: September 11, 2003 at 00:04:16 Pacific
Reply:

I'm not sure what your problem is here. My suggestions would be to make sure that you have admin priveleges and reinstall the java virtual machine...

Personally, I dislike code warrior... for reasons unknown. I rather write code in notepad or VI.

Infinite Recursion


0

Response Number 4
Name: jtoad
Date: September 11, 2003 at 10:26:36 Pacific
Reply:

why don't you get the new sdk with netbeans ide. it's just as good or better as CW, but poor debugger.


0

Response Number 5
Name: Razavn
Date: September 12, 2003 at 03:15:04 Pacific
Reply:

Do you have j2sdk_1.x.x or jre(Java Runtime Environment)installed on your computer?If no,then go to www.java.sun.com,else:

First,you need to have the right version of VM.
Second,as Don Arnett said you need to be root or to have access to the files java.exe(Win) or java(Linux).
Third,you can cause conflict if you have 2 VM's installed.
Fourth,the VM is the file java.exe on Windoze,or "java" on Linux or Solaris.
So,Code Warrior possibly searches for these files(if no manually browse).If it cannot find these files via "Registry" or "System Path" ,it will crash!

Tell me more 'bout your problem because there's too many reasons for CW to crash!


0

Related Posts

See More



Response Number 6
Name: Infinite Recursion
Date: September 12, 2003 at 15:04:44 Pacific
Reply:

"Tell me more 'bout your problem because there's too many reasons for CW to crash!"

Exactly the reason I don't like CW... lol

IR


0

Response Number 7
Name: Khash
Date: September 12, 2003 at 21:26:52 Pacific
Reply:

I have all the stuff installed on the machien. I can run java programs using javac and java or even JCreator. And JDK path is set on autoexec.bat file.
I just can't figure out why CW can't find it.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Java Problem

java problem www.computing.net/answers/programming/java-problem/11363.html

RealJ for Java (problem compiling) www.computing.net/answers/programming/realj-for-java-problem-compiling/1900.html

SQL / Oracle / Java Problem with results www.computing.net/answers/programming/sql-oracle-java-problem-with-results/2315.html