| Author |
Setting up JRE version number in Studio Creator
|
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
Seeing that Sun were letting us have Studio Creator free of charge, I thought I would try it. But I can't get things liketo work. I thought about uninstalling it, and when I tried, it said something about jre 1.4.2_09. Now I have J2SE1.5.0_06, so I can't understand why it says "1.4.2." I can't seem to find anything in the help files, and when I clicked help->about Studio Creator->detail, it said all sorts of reassuring things about Java: 1.5.0_06, VM: Java HotSpot Client VM1.5.0_06-b05, and when I looked into the file where the java.exe lives, it is dated November 2005, which is right for 1.5.0_06. But it still behaves as if it used J1.4.2. Anybody know how to find the "configurations" where you can set up the jre it is using?? CR
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Campbell, I haven't used Studio, but Eclipse has a preference to set the compiler version used. Does Studio have something like that?
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
Thank you. I haven't found it. I did however find an FAQ on the Sun website saying that Studio Creator can create programs in 1.2 1.3 1.4 and 1.5(sic), but needs 1.4 to operate. So it might not be possible. CR
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Campbell, That quote helps greatly! It tells me that Studio Creator works similar to Eclispe. The IDE is written in Java so needs a version of Java to run itself. This is the 1.4 mentioned in your quote. The code you write can be compiled in a number of versions. This is the 1.2-5.0 they mentioned. Even if Sun doesn't call their own version correctly. I got a kick out of that. Thanks for adding the "sic"
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
Thank you. It's not Eclipse really, more like NetBeans, but as you say, NetBeans works in Java too. When you open the SC folder, it has a folder in called nb41, and the user interface looks and behaves just like a posh version of NetBeans. . . . But I have a standalone version of NetBeans 5.0beta, and Eclipse 3.1.2, both of which work quite happily on J2SE5.0. I think I shall forget about the SC . . . [ June 02, 2006: Message edited by: Campbell Ritchie ]
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
I have tried to edit JDK versions in SC and found somewhere in options where it says "cannot be edited." I might try a query on the sun website. Otherwise I shall give up.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
I have found this thread on the Sun developers' forum. It doesn't sound at all hopeful. I am not at all happy with the situation. CR At least I didn't pay for it.
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26192
|
|
Campbell, Thanks for sharing that. It doesn't help with solving the problem, but others reading this read will know what to expect.
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32675
|
|
Campbell, Thanks for sharing that.
That's a pleasure.
|
 |
 |
|
|
subject: Setting up JRE version number in Studio Creator
|
|
|