public beta compiler errors?

Jul 25, 2006 at 6:20pm

public beta compiler errors?

Am I missing something in my java config, or are there really no error/warning messages in the current 4.6b11?

J.

#26921
Jul 25, 2006 at 7:17pm

What is your setup?
Some other people on the list were having a similar problem. We need
to track this down.
Topher

On Jul 25, 2006, at 11:20 AM, jbmaxwell wrote:

>
> Am I missing something in my java config, or are there really no
> error/warning messages in the current 4.6b11?
>
> J.

#81019
Jul 25, 2006 at 7:28pm

Hey Toph,

My topic heading isn’t that clear. It’s just that I get no notification of what went wrong during compilation… just to be clear.

Anyway, it’s a MacBook 1.83, only 512 MB ram at this point. MaxMSP 4.6b11. OS X 10.4.7, with all the latest updates. This does include a new release (release 4?) of Java 5.0. Could there be an issue there?…

J.

#81020
Jul 25, 2006 at 7:48pm

There is something weird going on with the mactel.
I don’t have access to one right now but am
trying to see what may have changed in the output.
If you compile from the command line could you send
me the error output so I can see how it is formatted.
Perhaps it changed? I dont think so though.
Topher

On Jul 25, 2006, at 12:28 PM, jbmaxwell wrote:

>
> Hey Toph,
>
> My topic heading isn’t that clear. It’s just that I get no
> notification of what went wrong during compilation… just to be
> clear.
>
> Anyway, it’s a MacBook 1.83, only 512 MB ram at this point. MaxMSP
> 4.6b11. OS X 10.4.7, with all the latest updates. This does include
> a new release (release 4?) of Java 5.0. Could there be an issue
> there?…
>
> J.

#81021
Jul 25, 2006 at 8:37pm

well, I always just use the built-in text editor/compiler. Here’s a screenshot, but I doubt it will be very informative. Just says compilation failed, nothing more.

J.

#81022
Jul 25, 2006 at 8:37pm

well, I always just use the built-in text editor/compiler. Here’s a screenshot, but I doubt it will be very informative. Just says compilation failed, nothing more.

J.

[EDIT] hmm.. couldn’t get it to attach the screenshot. Anyway, it just tells me complition failed…

#81023
Jul 28, 2006 at 5:28pm

Well, I just realized that I’m not supposed to be able to run the beta without an authorized MaxMSP 4.5 installed… It does run on my new MacBook, though. Anyway, I’ve submitted an authorization request, so maybe that will have some effect(?)

The other thing I noticed is that ArrayList() is taking ints. I’ve just tried:

public void add(int i)
{
thisArrayList.add(i);
}

…and it appears to work. That isn’t right, is it? Isn’t ArrayList only supposed to take objects, not primitives? Could this be a 4.6 bug; maybe it’s not actually taking my int input as an int, but is rather converting it to an Atom?

dunno, just curious.
We’ll see if things change once authorized (though I don’t know why they would).

J.

#81024
Jul 28, 2006 at 5:48pm

duh… investigating my little “problem” further, it looks like this is probably just the autoboxing added in J2SE 5.0/1.5.
Sorry for the false alarm. :-

It is probably worth note, though, that 4.6b11 does appear to work in demo mode, without 4.5 installed.

J.

#81025
Jul 28, 2006 at 5:59pm

On 28 Jul 2006, at 18:48, jbmaxwell wrote:

> duh… investigating my little “problem” further, it looks like
> this is probably just the autoboxing added in J2SE 5.0/1.5.

Most likely.

If you’re using Eclipse, you can ask it to flag these conversions.

– N.

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com

#81026
Jul 28, 2006 at 6:27pm

Hey Nick,

Is the autoboxing relatively efficient, btw? It could come in very handy.

J.

#81027
Jul 28, 2006 at 9:08pm

On 28 Jul 2006, at 19:27, jbmaxwell wrote:

> Is the autoboxing relatively efficient, btw? It could come in very
> handy.

Don’t know; I assume it’s pretty much equivalent to doing it
manually. But since it’s automatic, I guess there’s always the risk
that you end up making more use of it than you’d like.

In any case: I personally don’t worry about it, since at worst it’s a
slight performance hit linear with the number of occurrences, and
there are better ways to apply one’s optimisation effort.

– N.

nick rothwell — composition, systems, performance — http://
http://www.cassiel.com

#81028
Sep 17, 2006 at 8:37am

I’ve just done the 4.6.1 update (finally), but I still get no error information from the compiler, just the notification that the build failed.

Is it possible that this is just my system? I do have ftm installed, btw… in case it makes a difference.

J.

#81029
Sep 28, 2006 at 9:59pm

Okay, am I the only one who doesn’t get any sort of error messages from the 4.6.2 java compiler? “build failed”… but that’s about it.

J.

#81030
Sep 29, 2006 at 6:49am

You’re not alone: this is a known bug that has caused us some grief.
We’re waiting on a fix from Apple. Sorry, no idea when it will
happen, or when/if we’ll figure out another way to get the error
messages back.

Until something changes, you could

1. compile manually from the terminal, or
2. use an IDE such as Eclipse

Ben

On 9/28/06, jbmaxwell wrote:
>
> Okay, am I the only one who doesn’t get any sort of error messages from the 4.6.2 java compiler? “build failed”… but that’s about it.
>
> J.
>

#81031
Sep 29, 2006 at 1:38pm

Thanks Ben.

I hadn’t heard anything for a while, and with another service update released (4.6.2) I thought maybe my system was to blame.

Anyway, I work on my G5 most of the time, but it would be nice to get out of the studio occasionally (especially for programming, which doesn’t need the extra gear). Would somebody mind posting an announcement of some kind once this particular problem is fixed?

cheers,

J.

#81032

You must be logged in to reply to this topic.