Create account / Log in

Missing card and counter text

Issues with the Vassal engine.

Moderators: uckelman, Tim M

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 9:13 am

Hi,

Thanks for that.

It does not work. I still have an empty square.

Best,

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

Re: Missing card and counter text

Postby mgringo » February 18th, 2013, 9:22 am

Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin Queen module) and retina-display macbook pro. Your standalone SVG test with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael
Attachments
Screen Shot 2013-02-18 at 4.19.27 AM.jpg
Screen Shot 2013-02-18 at 4.19.27 AM.jpg (71.54 KiB) Viewed 3979 times
mgringo
 
Posts: 14
Joined: February 18th, 2013, 9:20 am

Re: Missing card and counter text

Postby mgringo » February 18th, 2013, 9:48 am

mgringo wrote:Greetings!

I have the same issue that Guillaume reported with Vassal (Virgin Queen module) and retina-display macbook pro. Your standalone SVG test with the batik.jar seems to work correctly.

Thanks for your help!

Warmest regards,

Michael


I should mention that I am using:

OSX: 10.8.2

VASSAL-3.2.3-svn8552-retina-svg-macosx

Java:
java version "1.7.0_04"
Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)

Thanks again for helping us fix this!

Warmest regards,

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 10:10 am

Aha ! I am running

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Let me go, upgrade and try again.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 10:19 am

Thus spake gdaudin:
> Hi,
>
> Thanks for that.
>
> It does not work. I still have an empty square.
>

This eliminates our code as the problem. Now I'll ask about the bug on
the Batik mailing list. I'll report back when I know more.

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 10:25 am

This is getting curiouser and curiouser.

After upgrade and reboot,

java -version on terminal gives me :
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

But System Preferences Panel tell me I have java 1.7 - (build 1.7.0_13-b20)

Anyway, it still does not work after the upgrade.

Best,

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

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 10:28 am

Thus spake mgringo:
>
> "mgringo" wrote:
> > Greetings!
> >
> > I have the same issue that Guillaume reported with Vassal (Virgin
> > Queen module) and retina-display macbook pro. Your standalone SVG test
> > with the batik.jar seems to work correctly.
> >
> > Thanks for your help!
> >
> > Warmest regards,
> >
> > Michael
>
>
> I should mention that I am using:
>
> OSX: 10.8.2
>
> VASSAL-3.2.3-svn8552-retina-svg-macosx
>
> Java:
> java version "1.7.0_04"
> Java(TM) SE Runtime Environment (build 1.7.0_04-b21)
> Java HotSpot(TM) 64-Bit Server VM (build 23.0-b21, mixed mode)
>

That's unexpected.

So, we have the standalone test working with Java 7, but not with
Java 6?

mgringo, do you see the text if you load this module with this build
of VASSAL?

http://www.vassalengine.org/~uckelman/b ... est-2.vmod
http://www.vassalengine.org/~uckelman/b ... macosx.dmg

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

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 10:31 am

Thus spake gdaudin:
> This is getting curiouser and curiouser.
>
> After upgrade and reboot,
>
> java -version on terminal gives me :
> java version "1.6.0_37"
> Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
> Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
>
> But System Preferences Panel tell me I have java 1.7 - (build
> 1.7.0_13-b20)
>

Start VASSAL and post the errorLog (you can find this under Help >
Error Log in the Module Manager). This will tell us which version
of Java VASSAL is running in.

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 10:37 am

Here is what I have :

2013-02-18 11:34:28,527 [0-main] INFO VASSAL.launch.StartUp - Starting
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - OS Mac OS X
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - Java version 1.6.0_37
2013-02-18 11:34:28,532 [0-main] INFO VASSAL.launch.StartUp - VASSAL version 3.2.3-svn8547
2013-02-18 11:34:28,957 [0-AWT-EventQueue-0] INFO VASSAL.launch.ModuleManager - Manager

So Vassal is actually using 1.6 (and Terminal too). I'll look around and try to solve that.

Best,

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 10:52 am

Hum... Still no cigar. But Oracle tells me that I have the right Java installed.

typing
% /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
Gives me :
java version "1.7.0_13"
Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

typing
% java -version

gives me the old one.

I am over my head with this one, I am afraid.
gdaudin
 
Posts: 55
Joined: November 9th, 2011, 7:19 am

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 10:59 am

Thus spake gdaudin:
> Hum... Still no cigar. But Oracle tells me that I have the right Java
> installed.
>
> typing
> % /Library/Internet\
> Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version
> Gives me :
> java version "1.7.0_13"
> Java(TM) SE Runtime Environment (build 1.7.0_13-b20)
> Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
>
> typing
> % java -version
>
> gives me the old one.
>
> I am over my head with this one, I am afraid.
>

This means that Java 6 is found on your PATH before Java 7. The command
'which java' will show you the path of the java binary which is found
on your path. What does it say?

I did a bit of searching and turned up this:

http://docs.oracle.com/javase/7/docs/we ... c-jre.html

It seems to be saying that you can't have more than one JRE installed
at a time, but it looks like you do.

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 11:19 am

Hi,

I managed to uninstall all Java versions, and then re-install Java 1.7.

However, when I then try to open Vassal, I get a message telling me that I need to install Java SE 6 to get started.

Best,

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

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 11:43 am

Thus spake gdaudin:
> Hi,
>
> I managed to uninstall all Java versions, and then re-install Java 1.7.
>
> However, when I then try to open Vassal, I get a message telling me that
> I need to install Java SE 6 to get started.
>

According to this:

http://docs.oracle.com/javase/7/docs/we ... c-jre.html

the JRE 7 installer doesn't create proper symlinks for the java binary.
I have no idea why Oracle thinks it's acceptible for the installer to
behave that way, since it leaves you with exactly this problem. They're
essentially saying "our installer doesn't finish doing its job".

What's the output now when you run each of the following:

which java

java -version

ls -l /System/Library/Frameworks/JavaVM.framework/Versions

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

Re: Missing card and counter text

Postby gdaudin » February 18th, 2013, 11:51 am

I get

%which java
/usr/bin/java
%java -version
No Java runtime present, requesting install.
%ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

So, if I understand well, I should install the JDK rather than the JRE ?


Best,

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

Re: Missing card and counter text

Postby uckelman » February 18th, 2013, 12:08 pm

Thus spake gdaudin:
>
> %which java
> /usr/bin/java
> %java -version
> No Java runtime present, requesting install.

This is funny. Apparently MacOS has a placeholder for the java binary.
What does

ls -l /usr/bin/java

say?

>
> %ls -l /System/Library/Frameworks/JavaVM.framework/Versions
> total 64
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.4 -> CurrentJDK
> wxr-xr-x 1 root wheel 10 18 fév 12:27 1.4.2 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.5.0 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6 -> CurrentJDK
> lrwxr-xr-x 1 root wheel 10 18 fév 12:27 1.6.0 -> CurrentJDK
> drwxr-xr-x 7 root wheel 238 18 fév 12:27 A
> lrwxr-xr-x 1 root wheel 1 18 fév 12:27 Current -> A
> lrwxr-xr-x 1 root wheel 59 18 fév 12:27 CurrentJDK ->
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents

Ok, show me:

ls -l /System/Library/Frameworks/JavaVM.framework/Versions/A

and

ls -l /System/Library/Java/JavaVirtualMachines

I'm trying to get a sense of what state your machine is in right now.

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

PreviousNext

Return to Technical Support & Bugs

Who is online

Users browsing this forum: No registered users and 5 guests