[Bluej-discuss] Vista vs XP problem:
rhg5 at kent.ac.uk
rhg5 at kent.ac.uk
Tue Oct 2 09:49:47 BST 2007
Hi Davin,
Thanks, that's fixed it.
I had already installed Java 6 on both machines (Vista, XP) with a view to compatibility, but both versions 5 and 6 were on the XP machine, and although I thought I'd already pointed BlueJ at v6 on the XP, apparently it was pointing at v5. Using the Select VM utility fixed that.
Also, using the "rebuild package" from the tools menu seemed to work as well (I had not been using that option, only clicking on the class, or the Compile button, as you suspected).
----- Original Message -----
From: Davin McCall <davmac at bluej.org>
Date: Tuesday, October 2, 2007 2:41
Subject: Re: [Bluej-discuss] Vista vs XP problem:
To: General discussion for users of BlueJ <bluej-discuss at bluej.org>
> Hi Hugh,
>
> Just a few quick questions - firstly, do you have different java
> versions on Vista and XP? (The help->about BlueJ menu shows a
> dialog
> which will tell you the java version). I suspect that the
> compiled class
> files are for a particular version and that this is confusing
> the older
> version (on XP).
>
> Secondly, how are you compiling on the XP machine when it fails -
> right
> click individual class and "compile", the "compile" button in
> the
> window, or "rebuild package" from the tools menu? If you haven't
> tried
> already tried the latter, I recommend doing so. It may succeed
> where
> compiling individual files fails.
>
> Davin
>
>
> rhg5 at kent.ac.uk wrote:
> > bluej-discuss at bluej.org <mailto:bluej-discuss at bluej.org>
> > Vista vs XP problem:
> >
> > If I create a BlueJ project under XP, and copy that project to
> Vista,
> > it runs under Vista seemingly perfectly, and I can continue
> > development of the project under Vista. However, if I
> copy a project
> > in the other direction it won't compile. I've tested
> this as follows:
> > (1) start with Project A on the XP; copy Project A
> to Vista. Save
> > this project (recompiling) as Project B on Vista.
> > (2) Test Projects A and B under BlueJ on
> Vista: both run correctly
> > (3) Copy both projects A and B back to XP.
> > (4) Test Projects A and B under BlueJ on
> Vista: Project A (which
> > wasn't recompiled on Vista) still runs fine, but Project B
> won't
> > compile (it doesn't seem to be able to see one class from another).
> >
> > I can't see any difference in the source code.
> > Do I have some setting within BlueJ set differently/wrongly?
> >
> >
> >
> >
> > regards,
> >
> > Hugh
> >
> > R.H.Griffiths
> > Biosciences, University of Kent, UK
> > Room C114
> > +44 (0)1227 827012
> > mobile: +44 (0)7770 922522
> >
> > ---------------------------------------------------------------
> ---------
> >
> > _______________________________________________
> > mailing list bluej-discuss at bluej.org
> > To unsubscribe or change your preferences, go to
> > http://lists.bluej.org/mailman/listinfo/bluej-discuss
> >
>
>
regards,
Hugh
R.H.Griffiths
Biosciences, University of Kent, UK
Room C114
+44 (0)1227 827012
mobile: +44 (0)7770 922522
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20071002/dedd2dbc/attachment-0001.html
More information about the bluej-discuss
mailing list