The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   JBuilder 2005 WILL NOT INSTALL (http://hintsforums.macworld.com/showthread.php?t=57312)

mlb5000 06-21-2006 12:19 PM

I can't for the life of me to get the JBuilder installation to go through. It brings up the prompt for me to enter my admin password, then I enter it and the thing just disappears. When I run the install in terminal, it gives me this error:

2006-06-21 11:48:42.418 install[1228] osError = 0
[JavaAppLauncher Warning] Specifying a specific version for JVMVersion 1.3.1
is deprecated. Use the more general 1.3* instead.

matthew-bakers-computer:~/Desktop/jb2005_win_mac/Disk1/InstData/MacOSX/install.app/Contents/MacOS mlb5000$ Properties for authenticated installer
loaded!
System's temporary directory = /private/var/tmp/folders.501/Cleanup At
Startup/

ZGExecuteCommand:
0: |sh|
1: |/private/var/tmp/folders.501/Cleanup At Startup/7236.tmp/script.sh|

Leaving MacOSXRelauncher.main

I've searched all over the internet for a workaround to get this to work, but I can't find anything. Has anyone gotten JBuilder to install correctly on OS X?

I'm running an Intel-Based Macbook with OSX Tiger 10.4.6....please help, I need this so I can work and get paid.......:(

I hope this board will be more helpful than others...

Matt

hayne 06-21-2006 12:28 PM

It sounds like there is an issue with the version of Java that is installed.
I.e. that JBuilder is picky about what version of Java it uses.
I think I recall seeing something about JBuilder issues in the Apple Java release notes. Maybe try googling for JBuilder with site:developer.apple.com

See also the explanations of how to specify a particular Java version in this other thread:
http://forums.macosxhints.com/showthread.php?t=47531

Otherwise, you are best to ask about this sort of thing on the Mac Java developers' mailing list. Start at http://lists.apple.com

But I would recommend using Eclipse instead of JBuilder. I think it is used by the majority of Java developers - especially those on the Mac.

mlb5000 06-21-2006 12:45 PM

Thanks for the quick response, I'll just switch to Eclipse then. My research advisor won't like it, or the fact that I'm now coding on a mac, but he'll just have to deal with it, lol.

However, if anyone does know the workaround for installing JBuilder, I would prefer to continue using it.

Matt

JDV 06-21-2006 01:30 PM

Is this Borland's JBuilder?
 
If so, Borland does not list OS X as a supported platform. It lists Windows, various flavors of Linux, and Solaris as its platform. Unless there is another product with this name, it sure doesn't look like it intends to install on a Mac.

Joe VanZandt

mlb5000 06-21-2006 01:43 PM

Quote:

Originally Posted by JDV
If so, Borland does not list OS X as a supported platform. It lists Windows, various flavors of Linux, and Solaris as its platform. Unless there is another product with this name, it sure doesn't look like it intends to install on a Mac.

Joe VanZandt

I don't know where you're looking but it's right on borland's website:

Foundation - Windows, Linux, Solaris, Mac OS - 2005 - 02/12/2005 - 51.2 - 96.5 Mb

English, French, German, Japanese

Free full version. No registration required.

Matt

JDV 06-21-2006 02:05 PM

Here's where I'm looking...If it will attach....
 
This is the Datasheet PDF provided on their website: well, I can't attach the PDF, but check the http://www.borland.com/us/products/jbuilder/index.html datasheet under "product information". Of course, it could be out of date, but if you check it, OS X is most certainly not listed.

Is there a way to attach a PDF here that I don't see?

Joe VanZandt

hayne 06-21-2006 02:10 PM

Quote:

Originally Posted by JDV
Is there a way to attach a PDF here that I don't see?

I'm not sure why you weren't able to attach the PDF using the Manage Attachments button at the bottom - but maybe the file was larger than the 100 K limit?

In any case, anything that you attach to a post here should be something that is your document - please don't attach copyrighted materials!

JDV 06-21-2006 02:17 PM

Thanks, Hayne
 
Although the caution against copywrited material seems to me to be just slightly odd when it is a freely-downloadable document, in an unmodified form. Certainly, no intellectual property rights are in peril of infringement here. But I'll try to be careful about that.

Joe VanZandt

hayne 06-21-2006 03:03 PM

Quote:

Originally Posted by JDV
Although the caution against copywrited material seems to me to be just slightly odd when it is a freely-downloadable document, in an unmodified form. Certainly, no intellectual property rights are in peril of infringement here

The copyright holder has the right to control where & how the document is distributed. As another example, even though the iTunes app is freely downloadable, you don't have the right to put it on a CD of software that you are distributing.

And one very good reason (besides the legal ones) why Borland might not want their document distributed elsewhere is that that would mean that out of date copies might be floating around.

mlb5000 06-21-2006 03:13 PM

Well....now eclipse won't run either.....can anyone tell me WTF is going on? I'm running a 2.0GHz Intel Macbook with Tiger 10.4.6.....I NEED an IDE that works. XCode is alright, but half of my code won't compile.

JBuilder uses the current directory to search for non-imported class files, what does XCode do?

Matt

hayne 06-21-2006 03:25 PM

Quote:

Originally Posted by mlb5000
Well....now eclipse won't run either.....can anyone tell me WTF is going on?

You need to supply considerably more detail about exactly what happens, show us the full text of error messages, etc, if we are to have any hope of guessing what might be going wrong.

But first have you read all of the docs that come with Eclipse? All the READMEs etc? You need to do so - Eclipse is not a double-click and go application - you need to spend a considerable amount of time reading the docs.
What does it say on the Eclipse web site as to Intel compatibility? Have you checked the Eclipse support forums? And again I recommend asking on the Mac Java development list instead of here.

Quote:

I NEED an IDE that works. XCode is alright, but half of my code won't compile.

JBuilder uses the current directory to search for non-imported class files, what does XCode do?
I've never used Xcode for Java development (it doesn't have half of the facilities of Eclipse for syntax checking & refactoring) but I would imagine that it just invokes the standard 'javac' compiler. Does your code compile from the command line with 'javac' ?

mlb5000 06-21-2006 04:48 PM

Ok, here is my terminal readouts from trying to run eclipse:

Last login: Wed Jun 21 16:43:28 on ttyp2
/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse; exit
Welcome to Darwin!
matthew-bakers-computer:~ mlb5000$ /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse; exit
Unable to access jarfile startup.jar
logout
[Process completed]

it can't access the startup.jar file for some reason. I chmoded it to 777 just in case that was the problem, but it wasn't. Could it be because I'm running Java 1.5 and this is certified for 1.4.2?

I checked their discussions about Intel-based macs, and supposedly it should work, so I don't think that's the problem.

Any suggestions?

Matt

hayne 06-21-2006 05:22 PM

Quote:

Originally Posted by mlb5000
Ok, here is my terminal readouts from trying to run eclipse:

Last login: Wed Jun 21 16:43:28 on ttyp2
/Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse; exit
Welcome to Darwin!
matthew-bakers-computer:~ mlb5000$ /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse; exit
Unable to access jarfile startup.jar
logout
[Process completed]

it can't access the startup.jar file for some reason. I chmoded it to 777 just in case that was the problem, but it wasn't. Could it be because I'm running Java 1.5 and this is certified for 1.4.2?

It doesn't look to be a 1.4 vs 1.5 issue.
It seems to be a simple matter of it not finding that JAR file in the places it is looking - i.e. the ClassPath.

But how are you running Eclipse? Are you double-clicking on the Eclipse.app icon?

Do you perhaps have some Java setup in your shell setup files (see this Unix FAQ for info on the shell setup files in general) that is left over from a previous JBuilder installation?

Have you tried logging in as a different user (create a new user account in the Accounts preferences) and running Eclipse from there?

mlb5000 06-21-2006 05:40 PM

Quote:

Originally Posted by hayne
It doesn't look to be a 1.4 vs 1.5 issue.
It seems to be a simple matter of it not finding that JAR file in the places it is looking - i.e. the ClassPath.

But how are you running Eclipse? Are you double-clicking on the Eclipse.app icon?

Do you perhaps have some Java setup in your shell setup files (see this Unix FAQ for info on the shell setup files in general) that is left over from a previous JBuilder installation?

Have you tried logging in as a different user (create a new user account in the Accounts preferences) and running Eclipse from there?

I'm running eclipse from the command line (well trying to). I've tried both ways, but both yield the same error. You would think the classpath would be the current directory of the entire program, but maybe it's really specific.

And this is my first JBuilder installation, just got this thing on Sunday.

Matt

hayne 06-21-2006 06:30 PM

Quote:

Originally Posted by mlb5000
I'm running eclipse from the command line (well trying to). I've tried both ways, but both yield the same error. You would think the classpath would be the current directory of the entire program, but maybe it's really specific.

I would recommend using the Eclipse.app double-clickable executable that is provided.

Quote:

And this is my first JBuilder installation, just got this thing on Sunday.
We're talking about Eclipse now, right?
So I was asking whether maybe some remnant of your previous installation attempts with JBuilder might be interfering.
Did you look at what you have in your shell "dot" files? (See the Unix FAQ referred to above)
Did you try running Eclipse when logged in as a different user?

mlb5000 06-21-2006 07:44 PM

Quote:

Originally Posted by hayne
I would recommend using the Eclipse.app double-clickable executable that is provided.


We're talking about Eclipse now, right?
So I was asking whether maybe some remnant of your previous installation attempts with JBuilder might be interfering.
Did you look at what you have in your shell "dot" files? (See the Unix FAQ referred to above)
Did you try running Eclipse when logged in as a different user?

yes we're talking about Eclipse now. I'll have to look over the Unix FAQ when I get the chance.

I have tried just using the installer without digging into it with Terminal, but it gives me the same error.

I've also not tried installing it as a different user...i'll have to try that when I'm not on battery.

Matt

hayne 06-21-2006 07:51 PM

Quote:

Originally Posted by mlb5000
I have tried just using the installer without digging into it with Terminal, but it gives me the same error.

Installer?
Maybe I don't remember as it's been a long time, but I don't recall there being an installer.
I guess maybe you just misspoke and were actually referring to the application that runs Eclipse.

mlb5000 06-21-2006 10:13 PM

Quote:

Originally Posted by hayne
Installer?
Maybe I don't remember as it's been a long time, but I don't recall there being an installer.
I guess maybe you just misspoke and were actually referring to the application that runs Eclipse.

ya, my bad. It's just eclipse.app, but it still doesn't work.

Matt

mlb5000 06-22-2006 03:43 PM

I got my code to compile inside of Terminal finally. But it seems like it doesn't like the native code. I know that Java doesn't release a JDK specifically for Mac, and maybe this is the reason:

Exception in thread "main" java.lang.NoClassDefFoundError: Application1 (wrong name: summerresearch/Application1)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)


It doesn't seem to like native methods. Do you know if Java applications run with the aid of the Rosetta emulator? if this is the case, I may have to dual boot winblows just for the sake of coding in java till full Intel Mac support comes about.

Matt

JDV 06-22-2006 03:58 PM

Realizing this is a risky reply.......
 
This is from http://developer.apple.com/java/

Quote:

Mac OS X is the only mass-market operating system that comes complete with a fully configured and ready-to-use Java Development Kit. Professional Java developers are increasingly turning to the feature-rich Mac OS X as the operating system of choice for cross-platform Java development projects on the Macintosh and other platforms. Mac OS X Tiger includes the full version of J2SE 1.4.2, preinstalled with the Java Development Kit (JDK) and the HotSpot virtual machine (VM), so you don't have to download, install, or configure anything.
It also has (on that site) a link to using Eclipse for Java development in OS X.

Joe VanZandt

hayne 06-22-2006 05:02 PM

Quote:

Originally Posted by mlb5000
Exception in thread "main" java.lang.NoClassDefFoundError: Application1 (wrong name: summerresearch/Application1)

That message would seem to be complaining about a classpath issue. Recall that Java files must be in folders that reflect the package name.

Quote:

It doesn't seem to like native methods. Do you know if Java applications run with the aid of the Rosetta emulator?
I'm not up to date on the implications of Rosetta with regard to native code that was compiled for PowerPC. If your native code was compiled for Intel, then Rosetta should not be involved.

Before getting into projects that use native code, you should test some pure Java projects to make sure you have everything set up correctly.
And of course, it would be best to avoid native code entirely unless you can't help it.

freimacosxheit 06-22-2006 11:05 PM

Two years ago, I managed to get JBuilderX up using the following steps and it might help:

OS: Mac OS X 10.3.2 with Java 1.4.2 update

Steps:

- It presumes that you have registered with Borland website and installed the Developers' Tools for Panther. Go to http://www.borland.com/products/down..._jbuilder.html to download "jbx_linux.tar" from the list named "Foundation" for a free full English version of JBuilderX installation file.

- An actvation file "Reg426.txt" will be sent to your email account. Save this file under /Users/username directory.

- Untar the downloaded "jbx_linux.tar" file and you should have a folder "jbx_linux".

- Create a "JBuilderX" directory under /Developer/Applications.

- copy the contents of the folder "jbx_linux" to /Developer/Applications/JBuilderX.

- Using Terminal mode, type "which java" to search for the absolute path for java program. For my system, I got "/usr/bin/java". Go to the directory /Developer/Applications/JBuilderX and type "fnd_install.bin LAX_VM /usr/bin/java" to activate the installation.

- Next, refer to paragraph 4 at http://minnigerode.org/CA-SF/dave/jbuilder-mac.html
to download the activation file "run-jbuilder.command". Before making the file executable using "chmod x+run", use an editor to change the APPNAME from "JBuilder9" to "JBuilderX" in the command file.

- Just activate "run-jbuilder.command", JBuilderX should be activated. Drag the file "run-jbuilder.command" to the Dock for future activation.


All times are GMT -5. The time now is 04:26 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.