Create account / Log in

Missing card and counter text

Issues with the Vassal engine.

Moderators: Tim M, uckelman

Re: Missing card and counter text

Postby uckelman » February 19th, 2013, 5:32 pm

Thus spake mgringo:
>
> Any binary is found with $PATH - not just java. The "special" problem he
> has with mis-matched jars really seems to be a bad installation (perhaps
> jars from multiple versions?) I don't know really, but reducing the
> variables is always a good strategy. Maybe there are shared object
> libraries too? PATH _would_ be a factor then.

Why do you think he has mismatched jars? I don't see any evidence for
that here.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby mgringo » February 19th, 2013, 9:42 pm

I'm not sure, uckelman. The same $PATH should be used when executing from a command line in the terminal as executing the app (which actually executes the little stub in the MacOS folder of the package). Therefore, the java binary would be found the same way and you have already eliminated the issue of extraneous VMs. Usually that's the case, but there are possibilities like scripts that can change what gets executed. I haven't really looked at this. In general, when I see an issue like this I try to eliminate variables - like the vm or extraneous classes - to know what we are really looking at.

It's easy to recreate (from the command line it works and from the app or the stub it does not), so I will look at it over the weekend, but for now I have a workaround, so it's not a high-priority. My machine has never had anything but java 7 installed.

With respect to your earlier comment about Apple's installation of Java... there is actually a reason for the mac/java confusion It's not entirely Apple's fault, but they have been complicit in not keeping the most up to date versions of java supported in mac os.

This article that explains some of Apple's recent trouble with Java (see Lion Macs).

http://blogs.computerworld.com/applicat ... va-updates

Note that today is Feb 19, 2013 and here is the Oracle patch:

http://www.oracle.com/technetwork/topic ... 05892.html

The retina screens started shipping in June of 2012 and the fact that Guillaume had vm of java 6 on his machine puts him in the "Lion Macs" part of the article. It means he has both VMs installed. He fixed that by installing VM7 but he still has a flawed version of VM6 on his disc. It needs to be updated or removed.

My Mac only has 7 installed. I still need to do the update.

This is really an important update, Guillaume, because there are major security flaws in the system that can be exploited.
mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

Re: Missing card and counter text

Postby gdaudin » February 20th, 2013, 6:18 am

Good morning,

He fixed that by installing VM7 but he still has a flawed version of VM6 on his disc. It needs to be updated or removed.


Well, I am not sure. If I had VM6 on the disk, Vassal would start by using it when I double click on it in the Application folder, right ?

BTW, all my java-using application have asked for it yesterday (including LibreOffice, for example). So I had to install following Apple's instructions in the end.

Best,

Guillaume
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 20th, 2013, 9:34 am

Thus spake gdaudin:
>
> > He fixed that by installing VM7 but he still has a flawed version of
> > VM6 on his disc. It needs to be updated or removed.
>
>
> Well, I am not sure. If I had VM6 on the disk, Vassal would start by
> using it when I double click on it in the Application folder, right ?

VASSAL asks for a JVM at least as new as Java 5. It will be run with
whatever JVM JavaApplicationStub, the launcher in the bundle, finds.

But, you don't have to wonder about this. The VASSAL errorLog tells you
which version of Java VASSAL is running it. Look there.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby uckelman » February 20th, 2013, 11:04 am

Thus spake gdaudin:
>
> BTW, all my java-using application have asked for it yesterday
> (including LibreOffice, for example). So I had to install following
> Apple's instructions in the end.
>

This means that you still have something set wrong.

What do you get when you run 'java_home'?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » February 20th, 2013, 11:10 am

What do you get when you run 'java_home'?


When I run it in terminal I get

-bash: java_home: command not found

But I suspect that is not what you wanted me to do.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 20th, 2013, 11:40 am

Thus spake gdaudin:
>
> > What do you get when you run 'java_home'?
>
>
> When I run it in terminal I get
>
> -bash: java_home: command not found

Ah, it's not on your PATH. Try running /usr/libexec/java_home instead.

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » February 20th, 2013, 11:44 am

Ah, it's not on your PATH. Try running /usr/libexec/java_home instead.


I get :

/Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents/Home
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby gdaudin » February 25th, 2013, 11:36 am

Hi,

There has been both an Oracle and an Apple update of Java, but I am still at the same point. I still need to use the terminal to have Vassal use java 7 (and show SVG text),

Best,

Guillaume
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby mgringo » February 25th, 2013, 11:54 am

Hi Guillaume!

I'm glad you updated though because now you don't have open security vulnerabilities that can turn your computer into a BOT!

I'm exactly where you are, so rest assured I will figure it out as soon as possible. This week is going to be tough though because I fly to Zurich on Thursday evening.

Warmest regards,

Michael
mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

Re: Missing card and counter text

Postby uckelman » March 1st, 2013, 11:36 pm

I think the solution to finding the JVM on Macs once you've installed Java 7 is the one we're developing in this thread. We're not quite there yet,but I think we'll get it eventually.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby uckelman » March 7th, 2013, 10:49 pm

Thus spake gdaudin:
> When I try to do a drag and drop with a piece, the piece "ghost" appears
> to be one centimeter above the pointer.
>

Please try btest9:

http://vassalengine.sourceforge.net/bui ... macosx.dmg

Does this still happen with this build?

--
J.
User avatar
uckelman
Site Admin
 
Posts: 8140
Joined: December 10th, 2007, 9:48 am
Location: Durham, England

Re: Missing card and counter text

Postby gdaudin » March 8th, 2013, 12:46 am

Hi,

I can start this build by the usual mean (i.e. double cliking on the application) rather than going through the Terminal. It uses Java 7.0.15 and the SVG images are fine. Great progress, thanks !

But I still have the "ghost" issue.

Best,

Guillaume
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby snapped » March 24th, 2013, 11:24 am

Hi Guillaume

Does it only run with uckelman's special builds or does the official release 3.2.2 and maybe 3.1.20 run with Java 7 installed? I am asking, because I am facing the same SVG Text Issue with my Macbook Pro Retina having Java 6 installed. I try to run Twilight Struggle 3.0.10a which needs Vassal 3.1.20 (does not run on 3.2.2 yet).

(Comming from viewtopic.php?f=8&t=3328&start=45#p39358 and been redirected to this thread by uckelman).
snapped
 
Posts: 6
Joined: March 22nd, 2013, 6:58 am

Re: Missing card and counter text

Postby gdaudin » March 25th, 2013, 11:16 am

Hi Snapped,

The official release runs Java 6 and will not work with VQ on my computer (SVG Text Issues).

Uckelman's special build (svn8569) runs Java 7 and works.

Best,

Guillaume
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

PreviousNext

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 2 guests