You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Dani

Intermediate

  • "Dani" started this thread

Posts: 325

Date of registration: Nov 19th 2009

Location: GERMANY

  • Send private message

1

Tuesday, September 12th 2017, 3:33pm

### HowTo - virtualize portable Jabaco with integrated Java - runs independendly from systems Java ###

Hey there,

since Jabaco does not run on systems with up to date Java I picked up the idea of using cameyo to virtualize Jabaco. I took it a bit further and integrated Java 7u79 into the cameyo package. Since I granted full system access I did not encounter any limitations running the virtualized Jabaco/Java package. The resulting file is about 115 MB and deflates to HD on startup. It does contain your Jabaco license.
It smoothly runs aside Java 8 on my machine.
It is portable ;-)

Tested on Windows 7 32 bit no Java and Windows 10 64 bit Java 8.


Here is a little How To:
-----------------------------

  • uninstall Jabaco
  • uninstall Java
  • (use the provided uninstallers)
  • delete Jabaco Registry Keys
    [-HKEY_LOCAL_MACHINE\SOFTWARE\Jabaco]
    [-HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Jabaco]
  • delete remaining folders:
    C:\Program Files (x86)\Java...
    C:\Program Files (x86)\Jabaco...
  • download cameyo http://www.cameyo.com/download
  • download jre-7u79-windows-i586.exe http://download.oracle.com/otn/java/jdk/…indows-i586.exe
  • have your jabaco-setup-win32.exe copy ready
  • have your Jabaco license key ready
  • have your favorit Jabaco.jar and Jabaco.xml ready

  • turn off your internet connection
  • close every programm that may cause frequent disk- or fileaccess while installing
  • e.g. virusscanner, maybe Defender too, updatecheckers of any kind, close as many background Apps as possible (I did not touch any other Windows system related processes)!!

  • now, start cameyo as Administrator (right click)
  • choose 'Capture an installation'
  • do not do anything on your computer until the scanprocess is done!!!
  • let it do it's thing
  • when cameyo is done with the initial systemscan...

  • run jre-7u79-windows-i586.exe as Administrator till it is done
  • (disable the Java Update Task if you like, Sysinternal's autoruns.exe is your friend)
  • run jabaco-setup-win32.exe as Administrator
  • exchange the Jabaco.jar and Jabaco.xml with a version of your choice
  • also if you want to add external libraries to your Java installation (C:\Program Files (x86)\Java\jre1.8.0_144\lib\ext) do that now
  • start Jabaco as Administrator and insert your license key and info
  • coose your language
  • start a new Project then close Jabaco without saving

  • now go back to camyeo and start the postscanning process
  • again do not do anything on your computer until the scanprocess is done (this may take quite a while)!!!

  • when it is done watch closely where the outputfile is saved to!!

  • run cameyo as Administrator again, this time choose 'Edit a package'
  • open the just created file, then edit...
    -> Startup -> Specific Command -> %Program Files (x86)%\Jabaco\Jabaco.exe
    -> Isolation Mode: Full Access
    -> Change Icon -> navigate to the original Jabaco.exe to fetch it's icon
  • save the file

pray everything went well ;-)
... and start (as Administrator) your virtualized copy of Java/Jabaco that is for now independend of the Java version on your system !!

You can uninstall Jabaco and Java 7u79 and move on to an up to date Java version.

You may want to add the following key to your Windows registry. This way you don't have to start your Jabaco Portable as Administrator every time. The Jabaco.exe is registered on your system to start as Admin:

[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"full path to Jabaco.exe"="RUNASADMIN"

e.g. paste the following into Editor and save as 'Jabaco Portable RUNASADMIN.reg' (make sure you are using your *.exe name!!) -> DubbleClick.

Source code

1
2
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]"C:\\JabacoPortable\\Jabaco 152 BETA Admin Java Update 779 cameyo.exe"="RUNASADMIN"



Cameyo is free for personal use.
Jabaco has to be registert to You on http://www.jabaco.org/register.html by Manuel Siekmann.

The resulting virtualized package/file contains your personal registration info so do not pass it on!!



Have fun :P ,


Dani

This post has been edited 2 times, last edit by "Dani" (Sep 14th 2017, 3:25pm)


Rate this thread
WoltLab Burning Board