Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the following after creating a .app although I have java 1.8x installed #10

Closed
dhowe opened this issue Nov 26, 2016 · 1 comment

Comments

@dhowe
Copy link

dhowe commented Nov 26, 2016

screen shot 2016-11-27 at 5 19 04 am

<project name="Pataclysm" default="export" basedir=".">
	<target name="export">
		
		<jar destfile="tmp/app.jar" basedir="bin"/>
		
		<jarbundler dir="/Users/dhowe/Desktop/" name="Pataclysm" jvmversion="1.8" mainclass="core.Pataclysm">
			<jarfileset dir="lib">
				<include name="**/*.jar" />
			</jarfileset>
			<jarfileset dir="tmp">
				<include name="**/*.jar" />
			</jarfileset>
		</jarbundler>	
	</target>
</project>

screen shot 2016-11-27 at 5 20 58 am

@tofi86
Copy link
Collaborator

tofi86 commented Nov 27, 2016

That has nothing to do with the JarBundler project.

You have the JRE browser plugin installed which does not register as Java VM on the system so apps can use it.
If you want a JVM for App usage, you have to install the JDK.

OR you can use an alternative JavaApplicationStub like mine: https://github.com/tofi86/universalJavaApplicationStub
It will also try to use the JRE browser plugin when possible...

@tofi86 tofi86 closed this as completed Nov 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants