Missing card and counter text

Thus spake gdaudin:

ls -l /Library/Java/JavaVirtualMachines

gets me

total 0
drwxr-xr-x 3 root wheel 102 18 fév 13:17 jdk1.7.0_13.jdk

Ok. I think this is what you need to do, as root:

cd /System/Library/Frameworks/JavaVM.framework/Versions
rm CurrentJDK
ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents CurrentJDK

This changes the CurrentJDK link to point to the JDK 7 you just
installed.


J.

Done.

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

now gives me :

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 58 18 fév 14:08 CurrentJDK → /Library/Java/JavaVirtualMachines/jdk1.7.0_13.jdk/Contents

Vassal still requires Java 6 to start, though.

What do you mean by “VASSAL still requires Java 6”? I don’t understand what you’re seeing.

Which message do you receive, Guillaume?

Mine:

harpua:~ mgouker$ ls -l /Library/Java/JavaVirtualMachines
total 0

drwxrwxr-x 3 root wheel 102 Apr 20 2012 1.7.0.jdk

harpua:~ mgouker$ ls -l /System/Library/Frameworks/JavaVM.framework/Versions
total 64
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.4.2 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.5.0 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6 → CurrentJDK
lrwxr-xr-x 1 root wheel 10 Feb 16 08:43 1.6.0 → CurrentJDK
drwxr-xr-x 9 root wheel 306 Feb 16 19:34 A
lrwxr-xr-x 1 root wheel 1 Feb 16 08:43 Current → A
lrwxr-xr-x 1 root wheel 52 Feb 16 09:50 CurrentJDK → /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents

I also have:

harpua:~ mgouker$ ls /System/Library/Java/JavaVirtualMachines
1.6.0.jdk

Guillaume, if you use 1.7 JDK, please make sure you have Java (not javascript) off in your browser. There are security issues.

Guillaume, our jdks are a little different (you are 13 builds ahead of me). Where did you get yours? From Oracle or the Open JDK project?

I have no problem starting Vassal - absolutely no error executing Vassal, however I still have bad graphic output. I execute Vassal from the Applications folder (not through a browser - can you still do that?).

Also, uekelman, I believe I have the same output on the screen as Guillaume in Vassal itself (i.e. no text on the counters). Please see attached image. Note that the Ottomans are on the rampage.

Warmest regards,

Michael

Sleeping…

docs.google.com/file/d/0B6ysbTJ … sp=sharing

I was wondering Michael, do you know which version of Java Vassal is using ?

I got mine from Oracle : oracle.com/technetwork/java/ … 80260.html

Here is the message I get from Vassal (in French, I am afraid) :

Best

Guillaume

Guillaume, Vassal will use the Java it finds in its class path. That’s why the links are important. A symbolic link points to the current VM. In your case, it will find jdk 7’s libraries now. Do you just execute the Vassal App in the Applications folder?

Interesting… That looks like an Apple message and not a java message.

I do lauch it from the Application folder. I get the later error message.

Ok, just to be sure try this:

  1. cd /Applications/VASSAL-3.2.3-svn8552.app/Contents/Resources/Java

  2. java -version

  3. java -classpath Vengine.jar VASSAL.launch.ModuleManager

Step 2 should show this: (or something similar)

java version “1.7.0_04”
Java™ SE Runtime Environment (build 1.7.0_04-b21)
Java HotSpot™ 64-Bit Server VM (build 23.0-b21, mixed mode)

After step 3, you should see Vassal running (it will run the module selection manager and then you choose the module).

Clash of Monarchs counters don’t apparently have the issue. Maybe they don’t use text.

docs.google.com/file/d/0B6ysbTJ … sp=sharing

Hi Michael,

Yes, this method works. Vassal is being launched.

And actually, I now have the text on the counters. Though the application does not seem to be Retina-optimized as it was before all that.

Also, I do not have the Vassal Icons in the dock, but only the Java ones.

Best,

Guillaume

Hey, you are right. Virgin Queen comes up with text on the counters too. It just looks awful.

LOL

I guess we have a workaround. Yech. ;-)

Thus spake mgringo:

Hey, you are right. Virgin Queen comes up with text on the counters too.
It just looks awful.

LOL

I guess we have a workaround. Yech. :wink:

Could you post a screenshot of this?


J.

Here’s a piece of the screen. It doesn’t look too bad.

That’s correct. The Clash of Monarchs module, like 99% of them, uses JPG/PNG images for all its art assets. My modules use SVG images, and the problem being worked around relates to the rendering of SVG.

Good morning gentlemen,

I have a mouse pointer issue when launching vassal in this way.

BTW, Michael, what is the version of Java run by Vassal when you start it “normally” ?

Best regards,

Guillaume

Thus spake gdaudin:

Good morning gentlemen,

I have a mouse pointer issue when launching vassal in this way.

Can you be more specific? What’s wrong?


J.

When I try to do a drag and drop with a piece, the piece “ghost” appears to be one centimeter above the pointer.

[quote=“gdaudin”]
I have a mouse pointer issue when launching vassal in this way.

BTW, Michael, what is the version of Java run by Vassal when you start it “normally” ?

/quote]

The short answer: The first one java finds in your class path.

What we are doing is overriding the existing class path to guarantee that we find only the jars that we know are correct. Your comment before about the system not starting because of the version indicated to me that there was still an invalid connection to a jar from a preexisting version (it was compiled with an earlier library). So uekelman’s technique excluded all the other virtual machines and launching from the command line specifying only the minimal number of jars ruled everything else out.

I will take a look at the mouse cursor a little later. I am so happy to have slept! :slight_smile:

All the best,

Michael

Hi,

Got that. I meant in your install. I assume you have cleaner Java installation than me, and I was wondering how come Vassal does not run in the same way when you start “normally” and by the command line method on your machine.

Or maybe I am utterly confused, which is very plausible.

Best regards,

Guillaume