<PAGE>

Exhibit 10.8

                                     WARRANT

THIS WARRANT HAS NOT BEEN REGISTERED UNDER THE SECURITIES ACT OF 1933 AND MAY
NOT BE SOLD, OFFERED FOR SALE, PLEDGED OR HYPOTHECATED IN THE ABSENCE OF A
REGISTRATION STATEMENT IN EFFECT WITH RESPECT TO THE SECURITIES UNDER SUCH ACT
OR AN OPINION OF COUNSEL SATISFACTORY TO THE COMPANY THAT SUCH REGISTRATION IS
NOT REQUIRED.

No. WB - 2   Warrant to Purchase 30,000 Shares of Common Stock
             (subject to adjustment)

                        WARRANT TO PURCHASE COMMON STOCK

                                       of

                             VANTAGEMED CORPORATION

                            Void after August 6, 2003

                  This certifies that, for value received, Pine Inc., or
registered assigns ("Holder") is entitled, subject to the terms set forth
below, to purchase from VantageMed Corporation (the "Company"), a Delaware
corporation, thirty thousand (30,000) shares of Common Stock of the Company,
as constituted on the date hereof (the "Warrant Issue Date"), upon surrender
hereof, at the principal office of the Company referred to below, with the
subscription form attached hereto duly executed, and simultaneous payment
therefor in lawful money of the United States or otherwise as hereinafter
provided, at the Exercise Price as set forth in Section 2 below. The number,
character and Exercise Price of such shares of Common Stock are subject to
adjustment as provided below. The term "Warrant" as used herein shall include
this Warrant, which is one of a Series of warrants issued for the Common
Stock of the Company, and any warrants delivered in substitution or exchange
therefor as provided herein.

                  1. TERM OF WARRANT. Subject to the terms and conditions
set forth herein, this Warrant shall be exercisable, in whole or in part,
during the term commencing on the Warrant Issue Date and ending at 5:00 p.m.,
Pacific Standard Time, on August 6, 2003, and shall be void thereafter.

                  2. EXERCISE PRICE. The Exercise Price at which this Warrant
may be exercised shall be Three Dollars and Seventy Cents ($3.70) per share
of Common Stock, as adjusted from time to time pursuant to Section 11 hereof.

                  3. EXERCISE OF WARRANT.

                           (a) The purchase rights represented by this
Warrant are exercisable by the Holder in whole or in part, but not for less
than 100 shares at a time (or such lesser number of shares which may then
constitute the maximum number purchasable; such number being subject to
adjustment as provided in Section 11 below), at any time, or from time to
time, during the term hereof as described in Section 1 above, by the
surrender of this Warrant and the Notice of

                                       1.

<PAGE>

Exercise annexed hereto duly completed and executed on behalf of the Holder,
at the office of the Company (or such other office or agency of the Company
as it may designate by notice in writing to the Holder at the address of the
Holder appearing on the books of the Company), upon payment (i) in cash or by
check acceptable to the Company, (ii) by cancellation by the Holder of
indebtedness of the Company to the Holder, or (iii) by a combination of (i)
and (ii), of the purchase price of the shares to be purchased.

                           (b) This Warrant shall be deemed to have been
exercised immediately prior to the close of business on the date of its
surrender for exercise as provided above, and the person entitled to receive
the shares of Common Stock issuable upon such exercise shall be treated for
all purposes as the holder of record of such shares as of the close of
business on such date. As promptly as practicable on or after such date and
in any event within ten (10) days thereafter, the Company at its expense
shall issue and deliver to the person or persons entitled to receive the same
a certificate or certificates for the number of shares issuable upon such
exercise. In the event that this Warrant is exercised in part, the Company at
its expense will execute and deliver a new Warrant of like tenor exercisable
for the number of shares for which this Warrant may then be exercised.

                  4. NO FRACTIONAL SHARES OR SCRIP. No fractional shares or
scrip representing fractional shares shall be issued upon the exercise of
this Warrant. In lieu of any fractional share to which the Holder would
otherwise be entitled, the Company shall make a cash payment equal to the
Exercise Price multiplied by such fraction.

                  5. REPLACEMENT OF WARRANT. On receipt of evidence
reasonably satisfactory to the Company of the loss, theft, destruction, or
mutilation of this Warrant and, in the case of loss, theft, or destruction,
on delivery of an indemnity agreement reasonably satisfactory in form and
substance to the Company or, in the case of mutilation, on surrender and
cancellation of this Warrant, the Company at its expense shall execute and
deliver, in lieu of this Warrant, a new warrant of like tenor and amount.

                  6. RIGHTS OF STOCKHOLDERS. This Warrant shall not entitle
its holder to any of the rights of a stockholder of the Company. Subject to
Sections 9 and 11 of this Warrant, the Holder shall not be entitled to vote
or receive dividends or be deemed the holder of Common Stock or any other
securities of the Company that may at any time be issuable on the exercise
hereof for any purpose, nor shall anything contained herein be construed to
confer upon the Holder, as such, any of the rights of a stockholder of the
Company or any right to vote for the election of directors or upon any matter
submitted to stockholders at any meeting thereof, or to give or withhold
consent to any corporate action (whether upon any recapitalization, issuance
of stock, reclassification of stock, change of par value, or change of stock
to no par value, consolidation, merger, conveyance, or otherwise) or to
receive notice of meetings, or to receive dividends or subscription rights or
otherwise until the Warrant shall have been exercised and the shares of
Common Stock purchasable upon the exercise hereof shall have been issued, as
provided herein.

                                      2.

<PAGE>

                  7. TRANSFER OF WARRANT.

                           (a) WARRANT REGISTER. The Company will maintain a
register (the "Warrant Register") containing the names and addresses of the
Holder or Holders. Any Holder of this Warrant or any portion thereof may
change his address as shown on the Warrant Register by written notice to the
Company requesting such change. Any notice or written communication required
or permitted to be given to the Holder may be delivered or given by mail to
such Holder as shown on the Warrant Register and at the address shown on the
Warrant Register. Until this Warrant is transferred on the Warrant Register
of the Company, the Company may treat the Holder as shown on the Warrant
Register as the absolute owner of this Warrant for all purposes,
notwithstanding any notice to the contrary.

                           (b) WARRANT AGENT. The Company may, by written
notice to the Holder, appoint an agent for the purpose of maintaining the
Warrant Register referred to in Section 7(a) above, issuing the Common Stock
or other securities then issuable upon the exercise of this Warrant,
exchanging this Warrant, replacing this Warrant, or any or all of the
foregoing. Thereafter, any such registration, issuance, exchange, or
replacement, as the case may be, shall be made at the office of such agent.

                           (c) TRANSFERABILITY AND NONNEGOTIABILITY OF
WARRANT. This Warrant may not be transferred or assigned in whole or in part
without compliance with all applicable federal and state securities laws by
the transferor and the transferee (including the delivery of investment
representation letters and legal opinions reasonably satisfactory to the
Company, if such are requested by the Company). Subject to the provisions of
this Warrant with respect to compliance with the Securities Act of 1933, as
amended (the "Act"), title to this Warrant may be transferred by endorsement
(by the Holder executing the Assignment Form annexed hereto) and delivery in
the same manner as a negotiable instrument transferable by endorsement and
delivery.

                           (d) EXCHANGE OF WARRANT UPON A TRANSFER. On
surrender of this Warrant for exchange, properly endorsed on the Assignment
Form and subject to the provisions of this Warrant with respect to compliance
with the Act and with the limitations on assignments and transfers and
contained in this Section 7, the Company at its expense shall issue to or on
the order of the Holder a new warrant or warrants of like tenor, in the name
of the Holder or as the Holder (on payment by the Holder of any applicable
transfer taxes) may direct, for the number of shares issuable upon exercise
thereof.

                           (e) COMPLIANCE WITH SECURITIES LAWS.

                                (i) The Holder of this Warrant, by acceptance
hereof, acknowledges that this Warrant and the shares of Common Stock to be
issued upon exercise hereof or conversion thereof are being acquired solely
for the Holder's own account and not as a nominee for any other party, and
for investment, and that the Holder will not offer, sell, or otherwise
dispose of this Warrant or any shares of Common Stock to be issued upon
exercise hereof or conversion thereof except under circumstances that will
not result in a violation of the Act or any state securities laws. Upon
exercise of this Warrant, the Holder shall, if requested by the Company,
confirm in writing, in a form satisfactory to the Company, that the shares of

                                      3.

<PAGE>

Common Stock so purchased are being acquired solely for the Holder's own account
and not as a nominee for any other party, for investment, and not with a view
toward distribution or resale.

                                    (ii) This Warrant and all shares of Common
Stock issued upon exercise hereof or conversion thereof shall be stamped or
imprinted with a legend in substantially the following form (in addition to any
legend required by state securities laws):

                  THE SECURITIES REPRESENTED HEREBY HAVE BEEN ACQUIRED FOR
                  INVESTMENT AND HAVE NOT BEEN REGISTERED UNDER THE SECURITIES
                  ACT OF 1933. SUCH SECURITIES AND ANY SECURITIES OR SHARES
                  ISSUED HEREUNDER OR THEREUNDER MAY NOT BE SOLD OR TRANSFERRED
                  IN THE ABSENCE OF SUCH REGISTRATION OR AN EXEMPTION THEREFROM
                  UNDER SAID ACT. COPIES OF THE AGREEMENT COVERING THE PURCHASE
                  OF THESE SECURITIES AND RESTRICTING THEIR TRANSFER OR SALE MAY
                  BE OBTAINED AT NO COST BY WRITTEN REQUEST MADE BY THE HOLDER
                  OF RECORD HEREOF TO THE SECRETARY OF THE COMPANY AT THE
                  PRINCIPAL EXECUTIVE OFFICES OF THE COMPANY.

                  8. RESERVATION OF STOCK. The Company covenants that during the
Term this Warrant is exercisable, the Company will reserve from its authorized
and unissued Common Stock a sufficient number of shares to provide for the
issuance of Common Stock upon the exercise of this Warrant (and shares of its
Common Stock for issuance on conversion of such Common Stock) and, from time to
time, will take all steps necessary to amend its Certificate of Incorporation
(the "Certificate") to provide sufficient reserves of shares of Common Stock
issuable upon exercise of the Warrant (and shares of its Common Stock for
issuance on Conversion of such Common Stock). The Company further covenants that
all shares that may be issued upon the exercise of rights represented by this
Warrant, upon exercise of the rights represented by this Warrant and payment of
the Exercise Price, all as set forth herein, will be free from all taxes, liens,
and charges in respect of the issue thereof (other than taxes in respect of any
transfer occurring contemporaneously or otherwise specified herein). The Company
agrees that its issuance of this Warrant shall constitute full authority to its
officers who are charged with the duty of executing stock certificates to
execute and issue the necessary certificates for shares of Common Stock upon the
exercise of this Warrant.

                  9. NOTICES.

                           (a) Whenever the Exercise Price or number of shares
purchasable hereunder shall be adjusted pursuant to Section 11 hereof, the
Company shall issue a certificate signed by its Chief Financial Officer setting
forth, in reasonable detail, the event requiring the adjustment, the amount of
the adjustment, the method by which such adjustment was calculated and the
Exercise Price and number of shares purchasable hereunder after giving effect to
such adjustment, and shall cause a copy of such certificate to be mailed (by
first class mail, postage prepaid) to the Holder of this Warrant.

                                      4.

<PAGE>

                           (b) In case:

                                    (i) the Company shall take a record of
the holders of its Common Stock (or other stock or securities at the time
receivable upon the exercise of this Warrant) for the purpose of entitling
them to receive any dividend or other distribution, or any right to subscribe
for or purchase any shares of stock of any class or any other securities, or
to receive any other right, or

                                    (ii) of any capital reorganization of the
Company, any reclassification of the capital stock of the Company, any
consolidation or merger of the Company with or into another corporation, or
any conveyance of all or substantially all of the assets of the Company to
another corporation, or

                                    (iii) of any voluntary dissolution,
liquidation or winding-up of the Company, then, and in each such case, the
Company will mail or cause to be mailed to the Holder or Holders a notice
specifying, as the case may be, (A) the date on which a record is to be
taken for the purpose of such dividend, distribution or right, and stating
the amount and character of such dividend, distribution or right, or (B) the
date on which such reorganization, reclassification, consolidation, merger,
conveyance, dissolution, liquidation or winding-up is to take place, and the
time, if any is to be fixed, as of which the holders of record of Common
Stock (or such stock or securities at the time receivable upon the exercise
of this Warrant) shall be entitled to exchange their shares of Common Stock
(or such other stock or securities) for securities or other property
deliverable upon such reorganization, reclassification, consolidation,
merger, conveyance, dissolution, liquidation or winding-up. Such notice shall
be mailed at least 15 days prior to the date therein specified.

                           (c) All such notices, advices and communications
shall be deemed to have been received (i) in the case of personal delivery,
on the date of such delivery and (ii) in the case of mailing, on the third
business day following the date of such mailing.

                  10. AMENDMENTS. This Warrant and any term hereof may be
changed, waived, discharged or terminated only by an instrument in writing
signed by the party against which enforcement of such change, waiver,
discharge or termination is sought.

                  11. ADJUSTMENTS. The Exercise Price and the number of
shares purchasable hereunder are subject to adjustment from time to time as
follows:

                  11.1 MERGER, SALE OF ASSETS, ETC.

                  (a) If at any time, while this Warrant, or any portion
thereof, is outstanding and unexpired there shall be (i) a reorganization
(other than a combination, reclassification, exchange or subdivision of
shares otherwise provided for herein), (ii) a merger or consolidation of the
Company with or into another corporation in which the Company is not the
surviving entity, or a reverse triangular merger in which the Company is the
surviving entity but the shares of the Company's capital stock outstanding
immediately prior to the merger are converted by virtue of the merger into
other property, whether in the form of securities, cash, or otherwise, or
(iii) a sale or transfer of the Company's properties and assets as, or
substantially as, an entirety to any other person, then, as a part of such
reorganization, merger, consolidation, sale or transfer,

                                      5.

<PAGE>

lawful provision shall be made so that the holder of this Warrant shall
thereafter be entitled to receive upon exercise of this Warrant, during the
period specified herein and upon payment of the Exercise Price then in
effect, the number of shares of stock or other securities or property of the
successor corporation resulting from such reorganization, merger,
consolidation, sale or transfer which a holder of the shares deliverable upon
exercise of this Warrant would have been entitled to receive in such
reorganization, consolidation, merger, sale or transfer if this Warrant had
been exercised immediately before such reorganization, merger, consolidation,
sale or transfer, all subject to further adjustment as provided in this
Section 11. The foregoing provisions of this Section 11.1 shall similarly
apply to successive reorganizations, consolidations, mergers, sales and
transfers and to the stock or securities of any other corporation which are
at the time receivable upon the exercise of this Warrant. If the per share
consideration payable to the holder hereof for shares in connection with any
such transaction is in a form other than cash or marketable securities, then
the value of such consideration shall be determined in good faith by the
Company's Board of Directors. In all events, appropriate adjustment (as
determined in good faith by the Company's Board of Directors) shall be made
in the application of the provisions of this Warrant with respect to the
rights and interests of the Holder after the transaction, to the end that
the provisions of this Warrant shall be applicable after that event, as near
as reasonably may be, in relation to any shares or other property deliverable
after that event upon exercise of this

                  (b) NOTICES OF RECORD DATE, In the event that the Company
shall propose at any time to merge with or into any other corporation, or
sell, lease or convey all or substantially all its property or business, or
to liquidate, dissolve or wind up, then the Company shall send to the holder
of this Warrant at least 20 days' prior written notice of the date on which a
record shall be taken for determining rights to vote in respect of such event.

                  11.2 RECLASSIFICATION, ETC. If the Company at any time
while this Warrant, or any portion thereof, remains outstanding and unexpired
shall, by reclassification of securities or otherwise, change any of the
securities as to which purchase rights under this Warrant exist into the same
or a different number of securities of any other class or classes, this
Warrant shall thereafter represent the right to acquire such number and kind
of securities as would have been issuable as the result of such change with
respect to the securities which were subject to the purchase rights under
this Warrant immediately prior to such reclassification or other change and
the Exercise Price therefor shall be appropriately adjusted, all subject to
further adjustment as provided in Section 11.

                  11.3 SPLIT, SUBDIVISION OR COMBINATION OF SHARES. If the
Company at any time while this Warrant, or any portion thereof, remains
outstanding and unexpired shall split, subdivide or combine the securities as
to which purchase rights under this Warrant exist, into a different number of
securities of the same class, the Exercise Price for such securities shall be
proportionately decreased in the case of a split or subdivision or
proportionately increased in the case of a combination

                  11.4 ADJUSTMENTS FOR DIVIDENDS IN STOCK OR OTHER SECURITIES
OR PROPERTY. If while this Warrant, or any portion hereof, remains
outstanding and unexpired the holders of the securities as to which purchase
rights under this Warrant exist at the time shall have received, or, on or
after the record date fixed for the determination of eligible Stockholders,
shall have

                                      6.

<PAGE>

become entitled to receive, without payment therefor, other or additional
stock or other securities or property (other than cash) of the Company by way
of dividend, then and in each case, this Warrant shall represent the right to
acquire, in addition to the number of shares of the security receivable upon
exercise of this Warrant, and without payment of any additional consideration
therefor, the amount of such other or additional stock or other securities or
property (other than cash) of the Company which such holder would hold on the
date of such exercise had it been the holder of record of the security
receivable upon exercise of this Warrant on the date hereof and had
thereafter, during the period from the date hereof to and including the date
of such exercise, retained such shares and/or all other additional stock
available by it as aforesaid during such period, giving effect to all
adjustments called for during such period by the provisions of this Section
11.

                  11.5 CERTIFICATE AS TO ADJUSTMENTS. Upon the occurrence of
each adjustment or readjustment pursuant to this Section 11, the Company at
its expense shall promptly compute such adjustment or readjustment in
accordance with the terms hereof and furnish to each holder of this Warrant a
certificate setting forth such adjustment or readjustment and showing in
detail the facts upon which such adjustment or readjustment is based. The
Company shall, upon the written request, at any time, of any such holder,
furnish or cause to be furnished to such holder a like certificate setting
forth: (i) such adjustments and readjustments; (ii) the Exercise Price at the
time in effect; and (iii) the number of shares and the amount, if any, of
other property which at the time would be received upon the exercise of the
Warrant.

                  11.6 NO IMPAIRMENT. The Company will not, by any voluntary
action, avoid or seek to avoid the observance or performance of any of the
terms to be observed or performed hereunder by the Company, but will at all
times in good faith assist in the carrying out of all the provisions of this
Section 11 and in the taking of all such action as may be necessary or
appropriate in order to protect the rights of the holders of this Warrant
against impairment.

                  12. REGISTRATION RIGHTS. Upon exercise of this Warrant, the
Holder shall have and be entitled to exercise, together with all other
holders of Registrable Securities possessing registration rights under
Section 3.8 of that certain Merger Agreement, dated July 23, 1999, among the
Company, VM1 Acquisition Corp., a Delaware corporation ("VM1"), and Mariner
Systems, Inc., a Colorado corporation, as amended by that certain Assignment
and Assumption Agreement, dated August 2, 1999, by and between VM1 and VM4
Acquisition Corp., a Delaware corporation (as amended, the "Merger
Agreement"), the rights of registration granted under Section 3.8 of the
Merger Agreement to Registrable Securities (with respect to the Shares issued
on exercise of this Warrant). By its execution of this Agreement, Holder
agrees to be bound by the terms of Section 3.8 of the Merger Agreement upon
exercise of this Warrant as a party thereto.

                  13. MISCELLANEOUS.

     (a) GOVERNING LAW. This Agreement shall be governed by and construed in
accordance with the laws of the State of California.

     (b) ATTORNEYS' FEES. If any party to this Agreement shall take any
action to enforce this Agreement or bring any action or commence any
arbitration for any relief against

                                      7.

<PAGE>

any other party, declaratory or otherwise, arising out of this Agreement, the
losing party shall pay to the prevailing party a reasonable sum for
attorneys' and experts' fees and costs incurred in taking such action,
bringing such suit and/or enforcing any judgment granted therein, all of
which shall be deemed to have accrued upon the commencement of such action
and shall be paid whether or not such action is prosecuted to judgment. Any
judgment or order entered in such action shall contain a specific provision
providing for the recovery of attorneys' and experts' fees and costs due
hereunder shall be determined by a court of competent jurisdiction and not by
a jury. For the purposes of this Section, attorneys' and experts' fees and
costs shall include, without limitation, fees incurred in the following: (a)
postjudgment motions; (b) contempt proceedings; (c) garnishment, levy, and
debtor and third party examinations; (d) discovery; and (e) bankruptcy
litigation.

     IN WITNESS WHEREOF, Company has caused this warrant to be executed by its
officers thereunto duly authorized

Dated: August 6, 1999

                                  By  /s/ Joel Harris
                                     ------------------------------
                                       PRESIDENT & CEO

HOLDER:
       ------------------------------

                                      8.